mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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) {
|
if(rc == LIBSSH2_ERROR_EAGAIN) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
readdir_len = (size_t) rc;
|
|
||||||
Curl_dyn_free(&sshc->readdir_link);
|
Curl_dyn_free(&sshc->readdir_link);
|
||||||
|
|
||||||
/* append filename and extra output */
|
/* append filename and extra output */
|
||||||
|
Loading…
Reference in New Issue
Block a user