From af4bddf20b5d99cce55367ec63f793e1ce262e3d Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 1 Sep 2013 12:48:50 +0100 Subject: easy.c: Fixed compilation warning warning: `code' might be used uninitialized in this function --- lib/easy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/easy.c') 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 */ -- cgit v1.2.3