From: Steve Holme Date: Sat, 10 May 2014 08:20:49 +0000 (+0100) Subject: tool_operate.c: Fixed compilation warning X-Git-Tag: curl-7_37_0~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba704878bd2d080cb81af04544d2d37952fd3f2e;p=thirdparty%2Fcurl.git tool_operate.c: Fixed compilation warning An enumerated type is mixed with another type. --- diff --git a/src/tool_operate.c b/src/tool_operate.c index 7792bf3613..fd2fd6ddd7 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -202,7 +202,7 @@ static CURLcode operate_do(struct GlobalConfig *global, CURL *curl = config->easy; char *httpgetfields = NULL; - CURLcode res = 0; + CURLcode res = CURLE_OK; unsigned long li; /* Save the values of noprogress and isatty to restore them later on */