diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-11 09:18:30 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-11 12:32:58 +0100 |
commit | 057cb05b4bb6dfbd52c204e0627e4bd7efa57347 (patch) | |
tree | 8a673abeced6242a62cbcff8b0866989ab7969c6 /lib/vssh/libssh2.c | |
parent | 6cb803ecb10224d5a0edb090edaa9ebd16c15f33 (diff) | |
download | curl-057cb05b4bb6dfbd52c204e0627e4bd7efa57347.tar.gz |
libssh2: fix "Value stored to 'readdir_len' is never read"
Detected by scan-build
Diffstat (limited to 'lib/vssh/libssh2.c')
-rw-r--r-- | lib/vssh/libssh2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c index ac2af07af..4164c8a09 100644 --- a/lib/vssh/libssh2.c +++ b/lib/vssh/libssh2.c @@ -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 */ |