diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-05-10 09:20:49 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-05-10 09:20:49 +0100 |
commit | ba704878bd2d080cb81af04544d2d37952fd3f2e (patch) | |
tree | 8daa3300ac559bff3cc2f9e977d0147f28bc95c1 /src/tool_operate.c | |
parent | fdb2d32144053bfdfaee38be149903d341f5fbbd (diff) | |
download | curl-ba704878bd2d080cb81af04544d2d37952fd3f2e.tar.gz |
tool_operate.c: Fixed compilation warning
An enumerated type is mixed with another type.
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |