From: Daniel Stenberg Date: Tue, 29 Oct 2024 07:13:02 +0000 (+0100) Subject: multi: fix "Useless Assignment" X-Git-Tag: curl-8_11_0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a273cc255f6c3b08a2576e0a1f70ea5661e6e460;p=thirdparty%2Fcurl.git multi: fix "Useless Assignment" CodeSonar pointed out "This code assigns the variable the same value it already had" Follow-up to e77326403d3d27e7e Closes #15441 --- diff --git a/lib/multi.c b/lib/multi.c index 9bf338e404..c2f7806e8d 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -2303,7 +2303,6 @@ static CURLMcode state_do(struct Curl_easy *data, /* keep connection open for application to use the socket */ connkeep(data->conn, "CONNECT_ONLY"); multistate(data, MSTATE_DONE); - result = CURLE_OK; rc = CURLM_CALL_MULTI_PERFORM; } else {