1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00

easy.c: Fixed compilation warning

warning: `code' might be used uninitialized in this function
This commit is contained in:
Steve Holme 2013-09-01 12:48:50 +01:00
parent f19efd07e7
commit af4bddf20b

View File

@ -718,7 +718,7 @@ static CURLcode easy_transfer(CURLM *multi)
{ {
bool done = FALSE; bool done = FALSE;
CURLMcode mcode = CURLM_OK; CURLMcode mcode = CURLM_OK;
CURLcode code; CURLcode code = CURLE_OK;
struct timeval before; struct timeval before;
int without_fds = 0; /* count number of consecutive returns from int without_fds = 0; /* count number of consecutive returns from
curl_multi_wait() without any filedescriptors */ curl_multi_wait() without any filedescriptors */