1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-01 00:48:14 -05:00

curl_easy_perform: Value stored to 'mcode' is never read

pointed out by clang-analyzer
This commit is contained in:
Daniel Stenberg 2013-02-05 14:09:18 +01:00
parent 4cd027f17e
commit 0d1b754376

View File

@ -457,7 +457,9 @@ CURLcode curl_easy_perform(CURL *easy)
}
}
mcode = curl_multi_remove_handle(multi, easy);
/* ignoring the return code isn't nice, but atm we can't really handle
a failure here, room for future improvement! */
(void)curl_multi_remove_handle(multi, easy);
/* The multi handle is kept alive, owned by the easy handle */
return code;