gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 01/02: test_options: muted compiler warning


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/02: test_options: muted compiler warning.
Date: Sat, 30 Sep 2017 19:27:32 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit adf9e8cec417d60fe7ae65dcff8e1cea961c6586
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sat Sep 30 20:16:52 2017 +0300

    test_options: muted compiler warning.
---
 src/testcurl/test_options.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/testcurl/test_options.c b/src/testcurl/test_options.c
index 004fe615..3198c731 100644
--- a/src/testcurl/test_options.c
+++ b/src/testcurl/test_options.c
@@ -44,6 +44,15 @@ ahc_echo (void *cls,
           const char *upload_data, size_t *upload_data_size,
           void **unused)
 {
+  (void)cls;
+  (void)connection;
+  (void)url;
+  (void)method;
+  (void)version;
+  (void)upload_data;
+  (void)upload_data_size;
+  (void)unused;
+
   return 0;
 }
 
@@ -118,6 +127,7 @@ int
 main (int argc, char *const *argv)
 {
   unsigned int errorCount = 0;
+  (void)argc; (void)argv; /* Unused. Silent compiler warning. */
 
   errorCount += test_wrap_loc ("ip addr option", &test_ip_addr_option);
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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