From: Daniel Stenberg Date: Tue, 5 Feb 2013 13:09:18 +0000 (+0100) Subject: curl_easy_perform: Value stored to 'mcode' is never read X-Git-Tag: curl-7_29_0~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d1b754376d7c6a266d32fcc10dc7968f0569129;p=curl curl_easy_perform: Value stored to 'mcode' is never read pointed out by clang-analyzer --- diff --git a/lib/easy.c b/lib/easy.c index 2f4b48b80..c27deffda 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -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;