diff --git a/src/tool_operate.c b/src/tool_operate.c index 4e2b82114c..712d966db6 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -323,6 +323,7 @@ static CURLcode pre_transfer(struct GlobalConfig *global, struct OperationConfig *config = per->config; /* for the macro below */ #ifdef CURL_DISABLE_LIBCURL_OPTION (void)config; + (void)global; #endif my_setopt(per->curl, CURLOPT_INFILESIZE_LARGE, uploadfilesize); }