diff options
Diffstat (limited to 'src/microhttpd/test_postprocessor_amp.c')
-rw-r--r-- | src/microhttpd/test_postprocessor_amp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/test_postprocessor_amp.c b/src/microhttpd/test_postprocessor_amp.c index 73f72f92..ef271810 100644 --- a/src/microhttpd/test_postprocessor_amp.c +++ b/src/microhttpd/test_postprocessor_amp.c | |||
@@ -11,6 +11,8 @@ int check_post(void *cls, enum MHD_ValueKind kind, const char* key, | |||
11 | const char* content_encoding, const char* data, | 11 | const char* content_encoding, const char* data, |
12 | uint64_t off, size_t size) | 12 | uint64_t off, size_t size) |
13 | { | 13 | { |
14 | (void)cls; (void)kind; (void)filename; (void)content_type; /* Unused. Silent compiler warning. */ | ||
15 | (void)content_encoding; (void)data; (void)off; (void)size; /* Unused. Silent compiler warning. */ | ||
14 | if ((0 != strcmp(key, "a")) && (0 != strcmp(key, "b"))) | 16 | if ((0 != strcmp(key, "a")) && (0 != strcmp(key, "b"))) |
15 | { | 17 | { |
16 | printf("ERROR: got unexpected '%s'\n", key); | 18 | printf("ERROR: got unexpected '%s'\n", key); |
@@ -26,6 +28,7 @@ main (int argc, char *const *argv) | |||
26 | struct MHD_Connection connection; | 28 | struct MHD_Connection connection; |
27 | struct MHD_HTTP_Header header; | 29 | struct MHD_HTTP_Header header; |
28 | struct MHD_PostProcessor *pp; | 30 | struct MHD_PostProcessor *pp; |
31 | (void)argc; (void)argv; /* Unused. Silent compiler warning. */ | ||
29 | 32 | ||
30 | memset (&connection, 0, sizeof (struct MHD_Connection)); | 33 | memset (&connection, 0, sizeof (struct MHD_Connection)); |
31 | memset (&header, 0, sizeof (struct MHD_HTTP_Header)); | 34 | memset (&header, 0, sizeof (struct MHD_HTTP_Header)); |