libssh: remove a condition that always equals false

Found by Coverity

Closes #17358
This commit is contained in:
Daniel Stenberg 2025-05-15 21:55:41 +02:00
parent f51c6d2dc2
commit f7ff1d1e5e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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 */