libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 386f371dcac02bf3d706b171599782ebb79ed473
parent cfddbb9dc7d5d1aa964b6ce86fb090c56f800452
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sun,  1 Oct 2017 13:28:10 +0300

test_start_stop: silent compiler warnings

Diffstat:
Msrc/microhttpd/test_start_stop.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git 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);