gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 250/411: tool_operate: fix compiler warning when --libcurl is di


From: gnunet
Subject: [gnurl] 250/411: tool_operate: fix compiler warning when --libcurl is disabled
Date: Wed, 13 Jan 2021 01:21:05 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit c5ff3fb2cd12e64212560366f923412ce0b89fde
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Thu Oct 15 22:57:27 2020 +0200

    tool_operate: fix compiler warning when --libcurl is disabled
    
    Closes #6095
---
 src/tool_operate.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/tool_operate.c b/src/tool_operate.c
index e3fec0b4a..021b23ade 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -322,6 +322,9 @@ static CURLcode pre_transfer(struct GlobalConfig *global,
 
     if(uploadfilesize != -1) {
       struct OperationConfig *config = per->config; /* for the macro below */
+#ifdef CURL_DISABLE_LIBCURL_OPTION
+      (void)config;
+#endif
       my_setopt(per->curl, CURLOPT_INFILESIZE_LARGE, uploadfilesize);
     }
     per->input.fd = per->infd;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]