aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf/test_long_header.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testzzuf/test_long_header.c')
-rw-r--r--src/testzzuf/test_long_header.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testzzuf/test_long_header.c b/src/testzzuf/test_long_header.c
index 6e3f15bf..26932ea0 100644
--- a/src/testzzuf/test_long_header.c
+++ b/src/testzzuf/test_long_header.c
@@ -50,6 +50,7 @@ static int oneone;
50static int 50static int
51apc_all (void *cls, const struct sockaddr *addr, socklen_t addrlen) 51apc_all (void *cls, const struct sockaddr *addr, socklen_t addrlen)
52{ 52{
53 (void)cls;(void)addr;(void)addrlen; /* Unused. Silent compiler warning. */
53 return MHD_YES; 54 return MHD_YES;
54} 55}
55 56
@@ -63,6 +64,7 @@ struct CBC
63static size_t 64static size_t
64copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx) 65copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
65{ 66{
67 (void)ptr;(void)ctx; /* Unused. Silent compiler warning. */
66 return size * nmemb; 68 return size * nmemb;
67} 69}
68 70
@@ -78,6 +80,8 @@ ahc_echo (void *cls,
78 const char *me = cls; 80 const char *me = cls;
79 struct MHD_Response *response; 81 struct MHD_Response *response;
80 int ret; 82 int ret;
83 (void)version;(void)upload_data; /* Unused. Silent compiler warning. */
84 (void)upload_data_size;(void)unused; /* Unused. Silent compiler warning. */
81 85
82 if (0 != strcmp (me, method)) 86 if (0 != strcmp (me, method))
83 return MHD_NO; /* unexpected method */ 87 return MHD_NO; /* unexpected method */
@@ -220,6 +224,7 @@ int
220main (int argc, char *const *argv) 224main (int argc, char *const *argv)
221{ 225{
222 unsigned int errorCount = 0; 226 unsigned int errorCount = 0;
227 (void)argc; /* Unused. Silent compiler warning. */
223 228
224 oneone = (NULL != strrchr (argv[0], (int) '/')) ? 229 oneone = (NULL != strrchr (argv[0], (int) '/')) ?
225 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; 230 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;