mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
libssh2: fix "Value stored to 'readdir_len' is never read"
Detected by scan-build
This commit is contained in:
parent
6cb803ecb1
commit
057cb05b4b
@ -2223,7 +2223,6 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
||||
if(rc == LIBSSH2_ERROR_EAGAIN) {
|
||||
break;
|
||||
}
|
||||
readdir_len = (size_t) rc;
|
||||
Curl_dyn_free(&sshc->readdir_link);
|
||||
|
||||
/* append filename and extra output */
|
||||
|
Loading…
Reference in New Issue
Block a user