From: Daniel Stenberg Date: Thu, 15 May 2025 19:55:41 +0000 (+0200) Subject: libssh: remove a condition that always equals false X-Git-Tag: curl-8_14_0~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7ff1d1e5ea755c131db37858760b87dcd7f12ef;p=thirdparty%2Fcurl.git libssh: remove a condition that always equals false Found by Coverity Closes #17358 --- diff --git a/lib/vssh/libssh.c b/lib/vssh/libssh.c index 6eac9d697b..30fde410dd 100644 --- a/lib/vssh/libssh.c +++ b/lib/vssh/libssh.c @@ -877,8 +877,6 @@ static int myssh_state_upload_init(struct Curl_easy *data, return rc; } } while(passed < data->state.resume_from); - if(rc) - return rc; } /* now, decrease the size of the read */