mirror of
https://github.com/curl/curl.git
synced 2026-05-30 10:17:28 +03:00
libssh: part of conditional expression is always true
PVS-Studio warning Fixes #4402
This commit is contained in:
parent
9221896768
commit
b7e872ac17
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue