projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cd027f
)
curl_easy_perform: Value stored to 'mcode' is never read
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 5 Feb 2013 13:09:18 +0000
(14:09 +0100)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 5 Feb 2013 13:09:18 +0000
(14:09 +0100)
pointed out by clang-analyzer
lib/easy.c
patch
|
blob
|
history
diff --git
a/lib/easy.c
b/lib/easy.c
index 2f4b48b802f78c637470a1ce13716b3cf1e4acf6..c27deffdae537195440d3a3d2ba8749391739663 100644
(file)
--- 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;