Skip to content
Snippets Groups Projects
Commit 8f136288 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Curl_perform: Value stored to 'res2' is never read

parent 9799dbeb
No related branches found
No related tags found
No related merge requests found
......@@ -2113,9 +2113,9 @@ CURLcode Curl_perform(struct SessionHandle *data)
/* Curl_do() failed, clean up left-overs in the done-call, but note
that at some cases the conn pointer is NULL when Curl_do() failed
and the connection cache is very small so only call Curl_done() if
conn is still "alive".
*/
res2 = Curl_done(&conn, res, FALSE);
conn is still "alive". */
/* ignore return code since we already have an error to return */
(void)Curl_done(&conn, res, FALSE);
/*
* Important: 'conn' cannot be used here, since it may have been closed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment