mirror of
https://github.com/curl/curl.git
synced 2026-07-24 15:47:16 +03:00
libssh: The expression is excessive or contains a misprint
PVS-Studio warning Fixes #4402
This commit is contained in:
parent
32fa043202
commit
9221896768
1 changed files with 1 additions and 1 deletions
|
|
@ -493,7 +493,7 @@ restart:
|
|||
return SSH_ERROR;
|
||||
|
||||
nprompts = ssh_userauth_kbdint_getnprompts(sshc->ssh_session);
|
||||
if(nprompts == SSH_ERROR || nprompts != 1)
|
||||
if(nprompts != 1)
|
||||
return SSH_ERROR;
|
||||
|
||||
rc = ssh_userauth_kbdint_setanswer(sshc->ssh_session, 0, conn->passwd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue