mirror of
https://github.com/curl/curl.git
synced 2026-05-18 02:36:21 +03:00
tool_operate: fix build with --libcurl support disabled
A compiler warning for unused argument. Reported-by: Marcel Raad Closes #16684
This commit is contained in:
parent
0ec72c1ef8
commit
fdd97148e8
1 changed files with 3 additions and 0 deletions
|
|
@ -342,6 +342,9 @@ static CURLcode pre_transfer(struct GlobalConfig *global,
|
|||
curl_off_t uploadfilesize = -1;
|
||||
struct_stat fileinfo;
|
||||
CURLcode result = CURLE_OK;
|
||||
#ifdef CURL_DISABLE_LIBCURL_OPTION
|
||||
(void)global; /* otherwise used in the my_setopt macros */
|
||||
#endif
|
||||
|
||||
if(per->uploadfile && !stdin_upload(per->uploadfile)) {
|
||||
/* VMS Note:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue