diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-02-05 14:09:18 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-02-05 14:09:18 +0100 |
commit | 0d1b754376d7c6a266d32fcc10dc7968f0569129 (patch) | |
tree | db74544188972031752b996d00cd740cfc79145e /lib/easy.c | |
parent | 4cd027f17e0677e43bdcb8e8ddfc8a8e5fc8cd39 (diff) |
curl_easy_perform: Value stored to 'mcode' is never read
pointed out by clang-analyzer
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |