projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f19efd0
)
easy.c: Fixed compilation warning
author
Steve Holme
<steve_holme@hotmail.com>
Sun, 1 Sep 2013 11:48:50 +0000
(12:48 +0100)
committer
Steve Holme
<steve_holme@hotmail.com>
Sun, 1 Sep 2013 11:48:50 +0000
(12:48 +0100)
warning: `code' might be used uninitialized in this function
lib/easy.c
patch
|
blob
|
history
diff --git
a/lib/easy.c
b/lib/easy.c
index
202d961
..
1e718ab
100644
(file)
--- a/
lib/easy.c
+++ b/
lib/easy.c
@@
-718,7
+718,7
@@
static CURLcode easy_transfer(CURLM *multi)
{
bool done = FALSE;
CURLMcode mcode = CURLM_OK;
- CURLcode code;
+ CURLcode code
= CURLE_OK
;
struct timeval before;
int without_fds = 0; /* count number of consecutive returns from
curl_multi_wait() without any filedescriptors */