diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-31 11:15:07 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-31 11:18:18 +0300 |
commit | e7f77103503632ddd6ee6e87021de83271e9ebbf (patch) | |
tree | 368e8ba3ea17161d7bd6bed97c4cd9fb4d6e4cbb /src/testzzuf/test_post_form.c | |
parent | 28f723b238181f10f3bd86de84a4c4621e62a712 (diff) | |
download | libmicrohttpd-e7f77103503632ddd6ee6e87021de83271e9ebbf.tar.gz libmicrohttpd-e7f77103503632ddd6ee6e87021de83271e9ebbf.zip |
Silenced compiler warnings in src/testczzuf.
Diffstat (limited to 'src/testzzuf/test_post_form.c')
-rw-r--r-- | src/testzzuf/test_post_form.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testzzuf/test_post_form.c b/src/testzzuf/test_post_form.c index dbf22b9c..60b0fe35 100644 --- a/src/testzzuf/test_post_form.c +++ b/src/testzzuf/test_post_form.c | |||
@@ -56,6 +56,7 @@ completed_cb (void *cls, | |||
56 | enum MHD_RequestTerminationCode toe) | 56 | enum MHD_RequestTerminationCode toe) |
57 | { | 57 | { |
58 | struct MHD_PostProcessor *pp = *con_cls; | 58 | struct MHD_PostProcessor *pp = *con_cls; |
59 | (void)cls;(void)connection;(void)toe; /* Unused. Silent compiler warning. */ | ||
59 | 60 | ||
60 | if (NULL != pp) | 61 | if (NULL != pp) |
61 | MHD_destroy_post_processor (pp); | 62 | MHD_destroy_post_processor (pp); |
@@ -90,6 +91,8 @@ post_iterator (void *cls, | |||
90 | const char *value, uint64_t off, size_t size) | 91 | const char *value, uint64_t off, size_t size) |
91 | { | 92 | { |
92 | int *eok = cls; | 93 | int *eok = cls; |
94 | (void)kind;(void)filename;(void)content_type; /* Unused. Silent compiler warning. */ | ||
95 | (void)transfer_encoding;(void)off; /* Unused. Silent compiler warning. */ | ||
93 | 96 | ||
94 | if (key == NULL) | 97 | if (key == NULL) |
95 | return MHD_YES; | 98 | return MHD_YES; |
@@ -119,6 +122,7 @@ ahc_echo (void *cls, | |||
119 | struct MHD_Response *response; | 122 | struct MHD_Response *response; |
120 | struct MHD_PostProcessor *pp; | 123 | struct MHD_PostProcessor *pp; |
121 | int ret; | 124 | int ret; |
125 | (void)cls;(void)version; /* Unused. Silent compiler warning. */ | ||
122 | 126 | ||
123 | if (0 != strcmp ("POST", method)) | 127 | if (0 != strcmp ("POST", method)) |
124 | { | 128 | { |
@@ -395,6 +399,7 @@ int | |||
395 | main (int argc, char *const *argv) | 399 | main (int argc, char *const *argv) |
396 | { | 400 | { |
397 | unsigned int errorCount = 0; | 401 | unsigned int errorCount = 0; |
402 | (void)argc; /* Unused. Silent compiler warning. */ | ||
398 | 403 | ||
399 | oneone = (NULL != strrchr (argv[0], (int) '/')) ? | 404 | oneone = (NULL != strrchr (argv[0], (int) '/')) ? |
400 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; | 405 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; |