aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_postprocessor_large.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/test_postprocessor_large.c')
-rw-r--r--src/microhttpd/test_postprocessor_large.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/microhttpd/test_postprocessor_large.c b/src/microhttpd/test_postprocessor_large.c
index a509a7ba..13e8c78f 100644
--- a/src/microhttpd/test_postprocessor_large.c
+++ b/src/microhttpd/test_postprocessor_large.c
@@ -43,6 +43,8 @@ value_checker (void *cls,
43 const char *data, uint64_t off, size_t size) 43 const char *data, uint64_t off, size_t size)
44{ 44{
45 unsigned int *pos = cls; 45 unsigned int *pos = cls;
46 (void)kind; (void)key; (void)filename; (void)content_type; /* Unused. Silent compiler warning. */
47 (void)transfer_encoding; (void)data; (void)off; /* Unused. Silent compiler warning. */
46#if 0 48#if 0
47 fprintf (stderr, 49 fprintf (stderr,
48 "VC: %llu %u `%s' `%s' `%s' `%s' `%.*s'\n", 50 "VC: %llu %u `%s' `%s' `%s' `%s' `%.*s'\n",
@@ -63,8 +65,8 @@ test_simple_large ()
63 struct MHD_Connection connection; 65 struct MHD_Connection connection;
64 struct MHD_HTTP_Header header; 66 struct MHD_HTTP_Header header;
65 struct MHD_PostProcessor *pp; 67 struct MHD_PostProcessor *pp;
66 int i; 68 size_t i;
67 int delta; 69 size_t delta;
68 size_t size; 70 size_t size;
69 char data[102400]; 71 char data[102400];
70 unsigned int pos; 72 unsigned int pos;
@@ -98,6 +100,7 @@ int
98main (int argc, char *const *argv) 100main (int argc, char *const *argv)
99{ 101{
100 unsigned int errorCount = 0; 102 unsigned int errorCount = 0;
103 (void)argc; (void)argv; /* Unused. Silent compiler warning. */
101 104
102 errorCount += test_simple_large (); 105 errorCount += test_simple_large ();
103 if (errorCount != 0) 106 if (errorCount != 0)