From ba704878bd2d080cb81af04544d2d37952fd3f2e Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 10 May 2014 09:20:49 +0100 Subject: tool_operate.c: Fixed compilation warning An enumerated type is mixed with another type. --- src/tool_operate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool_operate.c b/src/tool_operate.c index 7792bf361..fd2fd6ddd 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 */ -- cgit v1.2.1