[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 02/02: test_start_stop: silent compiler war
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 02/02: test_start_stop: silent compiler warnings |
Date: |
Sun, 01 Oct 2017 12:29:23 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 386f371dcac02bf3d706b171599782ebb79ed473
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Oct 1 13:28:10 2017 +0300
test_start_stop: silent compiler warnings
---
src/microhttpd/test_start_stop.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/microhttpd/test_start_stop.c b/src/microhttpd/test_start_stop.c
index 1dd83575..d2e160b0 100644
--- a/src/microhttpd/test_start_stop.c
+++ b/src/microhttpd/test_start_stop.c
@@ -44,6 +44,10 @@ ahc_echo (void *cls,
const char *upload_data, size_t *upload_data_size,
void **unused)
{
+ (void)cls;(void)connection;(void)url; /* Unused. Silent compiler
warning. */
+ (void)method;(void)version;(void)upload_data; /* Unused. Silent compiler
warning. */
+ (void)upload_data_size;(void)unused; /* Unused. Silent compiler
warning. */
+
return MHD_NO;
}
@@ -106,6 +110,7 @@ int
main (int argc, char *const *argv)
{
unsigned int errorCount = 0;
+ (void)argc; (void)argv; /* Unused. Silent compiler warning. */
errorCount += testInternalGet (0);
errorCount += testMultithreadedGet (0);
--
To stop receiving notification emails like this one, please contact
address@hidden