From a273cc255f6c3b08a2576e0a1f70ea5661e6e460 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 29 Oct 2024 08:13:02 +0100 Subject: [PATCH] multi: fix "Useless Assignment" CodeSonar pointed out "This code assigns the variable the same value it already had" Follow-up to e77326403d3d27e7e Closes #15441 --- lib/multi.c | 1 - 1 file changed, 1 deletion(-) 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 {