netrc: part of conditional expression is always true: !done
Fixes warning detected by PVS-Studio Fixes #4374
This commit is contained in:
Родитель
317c97bd81
Коммит
0b90ec9bbf
|
@ -88,7 +88,7 @@ static int parsenetrc(const char *host,
|
|||
if(tok && *tok == '#')
|
||||
/* treat an initial hash as a comment line */
|
||||
continue;
|
||||
while(!done && tok) {
|
||||
while(tok) {
|
||||
|
||||
if((login && *login) && (password && *password)) {
|
||||
done = TRUE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче