diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-01 13:28:10 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-01 13:28:10 +0300 |
commit | 386f371dcac02bf3d706b171599782ebb79ed473 (patch) | |
tree | 0c65d296680fbd2fa78cad29470b5e4937efb4f8 | |
parent | cfddbb9dc7d5d1aa964b6ce86fb090c56f800452 (diff) | |
download | libmicrohttpd-386f371dcac02bf3d706b171599782ebb79ed473.tar.gz libmicrohttpd-386f371dcac02bf3d706b171599782ebb79ed473.zip |
test_start_stop: silent compiler warnings
-rw-r--r-- | src/microhttpd/test_start_stop.c | 5 |
1 files changed, 5 insertions, 0 deletions
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, | |||
44 | const char *upload_data, size_t *upload_data_size, | 44 | const char *upload_data, size_t *upload_data_size, |
45 | void **unused) | 45 | void **unused) |
46 | { | 46 | { |
47 | (void)cls;(void)connection;(void)url; /* Unused. Silent compiler warning. */ | ||
48 | (void)method;(void)version;(void)upload_data; /* Unused. Silent compiler warning. */ | ||
49 | (void)upload_data_size;(void)unused; /* Unused. Silent compiler warning. */ | ||
50 | |||
47 | return MHD_NO; | 51 | return MHD_NO; |
48 | } | 52 | } |
49 | 53 | ||
@@ -106,6 +110,7 @@ int | |||
106 | main (int argc, char *const *argv) | 110 | main (int argc, char *const *argv) |
107 | { | 111 | { |
108 | unsigned int errorCount = 0; | 112 | unsigned int errorCount = 0; |
113 | (void)argc; (void)argv; /* Unused. Silent compiler warning. */ | ||
109 | 114 | ||
110 | errorCount += testInternalGet (0); | 115 | errorCount += testInternalGet (0); |
111 | errorCount += testMultithreadedGet (0); | 116 | errorCount += testMultithreadedGet (0); |