aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-09-01 12:48:50 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-09-01 12:48:50 +0100
commitaf4bddf20b5d99cce55367ec63f793e1ce262e3d (patch)
treebb6bcc98d88cca2a9f0669478d869a4bf7829467 /lib
parentf19efd07e7e8b0cb46b195231a2f2d853ae24556 (diff)
easy.c: Fixed compilation warning
warning: `code' might be used uninitialized in this function
Diffstat (limited to 'lib')
-rw-r--r--lib/easy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 202d96151..1e718abcb 100644
--- 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 */