mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 00:58:48 -05:00
libssh: The expression is excessive or contains a misprint
PVS-Studio warning Fixes #4402
This commit is contained in:
parent
32fa043202
commit
9221896768
@ -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…
Reference in New Issue
Block a user