mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
libssh: part of conditional expression is always true
PVS-Studio warning Fixes #4402
This commit is contained in:
parent
9221896768
commit
b7e872ac17
@ -1356,7 +1356,7 @@ static CURLcode myssh_statemach_act(struct connectdata *conn, bool *block)
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if(sshc->readdir_attrs == NULL && sftp_dir_eof(sshc->sftp_dir)) {
|
||||
else if(sftp_dir_eof(sshc->sftp_dir)) {
|
||||
state(conn, SSH_SFTP_READDIR_DONE);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user