[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem report #1
From: |
Dan Nicolaescu |
Subject: |
Problem report #1 |
Date: |
Sun, 30 Apr 2006 09:39:50 -0700 |
All the remaining problem reports that have not been posted here yet
are for files in emacs/lib-src.
CID: 1
Checker: DEADCODE (help)
File: emacs/lib-src/pop.c
Function: pop_open
Description: After this line (or expression), the value of "password" cannot be 0
Event cannot_single: After this line (or expression), the value of "password"
cannot be 0
Also see events: [dead_error_line][dead_error_condition][cannot_single]
255 if ((! password) && (! DONT_NEED_PASSWORD))
256 {
257 if (! (flags & POP_NO_GETPASS))
258 {
259 password = getpass ("Enter POP password:");
260 }
Event cannot_single: After this line (or expression), the value of "password"
cannot be 0
Also see events: [dead_error_line][dead_error_condition][cannot_single]
261 if (! password)
262 {
263 strcpy (pop_error, "Could not determine POP password");
264 return (0);
265 }
266 }
Event dead_error_condition: On this path, the condition "password != 0" could
not be false
Also see events: [dead_error_line][cannot_single][cannot_single]
267 if (password)
268 flags |= POP_NO_KERBEROS;
269 else
Event dead_error_line: Cannot reach this line of code
Also see events: [dead_error_condition][cannot_single][cannot_single]
270 password = username;
271
272 sock = socket_connection (host, flags);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem report #1,
Dan Nicolaescu <=