tool_operate: silence unused parameter warning

`global` is only used in the `my_setopt` macro version without
`CURL_DISABLE_LIBCURL_OPTION` since commit 4774decf10a.

Closes https://github.com/curl/curl/pull/10752
This commit is contained in:
Marcel Raad 2023-03-13 08:52:39 +01:00
parent db073c9d88
commit ff5c3455ce
No known key found for this signature in database
GPG Key ID: 33C416EFAE4D6F02

View File

@ -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);
}