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:
parent
db073c9d88
commit
ff5c3455ce
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user