From 0d1b754376d7c6a266d32fcc10dc7968f0569129 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 5 Feb 2013 14:09:18 +0100 Subject: curl_easy_perform: Value stored to 'mcode' is never read pointed out by clang-analyzer --- lib/easy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3