From f7ff1d1e5ea755c131db37858760b87dcd7f12ef Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 15 May 2025 21:55:41 +0200 Subject: [PATCH] libssh: remove a condition that always equals false Found by Coverity Closes #17358 --- lib/vssh/libssh.c | 2 -- 1 file changed, 2 deletions(-) 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 */