multi: fix "Useless Assignment"

CodeSonar pointed out "This code assigns the variable the same value it
already had"

Follow-up to e77326403d

Closes #15441
This commit is contained in:
Daniel Stenberg 2024-10-29 08:13:02 +01:00
parent b7a06dee50
commit a273cc255f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 {