diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-09-19 10:35:25 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-19 10:35:25 +0200 |
commit | 4aeff9b5e0c17f592b9d8393fae87fc292efb42a (patch) | |
tree | b54a1df1ec9eeceabffa160c76dc8a61c4125370 | |
parent | 19ae602f4d70288cf86965f1aee2115df8e18045 (diff) | |
download | curl-4aeff9b5e0c17f592b9d8393fae87fc292efb42a.tar.gz |
tool_operate: removed unused variable 'done'
-rw-r--r-- | src/tool_operate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 5364e8307..316951869 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1968,7 +1968,6 @@ static CURLcode parallel_transfers(struct GlobalConfig *global, CURLSH *share) { CURLM *multi; - bool done = FALSE; CURLMcode mcode = CURLM_OK; CURLcode result = CURLE_OK; int still_running = 1; @@ -1985,7 +1984,7 @@ static CURLcode parallel_transfers(struct GlobalConfig *global, if(result) return result; - while(!done && !mcode && (still_running || more_transfers)) { + while(!mcode && (still_running || more_transfers)) { mcode = curl_multi_poll(multi, NULL, 0, 1000, NULL); if(!mcode) mcode = curl_multi_perform(multi, &still_running); |