aboutsummaryrefslogtreecommitdiff
path: root/src/examples/querystring_example.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-09-29 13:29:23 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-09-29 22:07:49 +0300
commita5b63e992bb1d45982269cd4be4d8990414acc17 (patch)
treeb2ecaa5b0342c4745b3a91e2211f3b06dc0b82d0 /src/examples/querystring_example.c
parent527700a01e67e35781a4ba789a43e4d982dd5b25 (diff)
downloadlibmicrohttpd-a5b63e992bb1d45982269cd4be4d8990414acc17.tar.gz
libmicrohttpd-a5b63e992bb1d45982269cd4be4d8990414acc17.zip
Muted compiler warnings in examples.
Diffstat (limited to 'src/examples/querystring_example.c')
-rw-r--r--src/examples/querystring_example.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/examples/querystring_example.c b/src/examples/querystring_example.c
index 6f95b44e..3d91bcea 100644
--- a/src/examples/querystring_example.c
+++ b/src/examples/querystring_example.c
@@ -42,6 +42,10 @@ ahc_echo (void *cls,
42 char *me; 42 char *me;
43 struct MHD_Response *response; 43 struct MHD_Response *response;
44 int ret; 44 int ret;
45 (void)url; /* Unused. Silent compiler warning. */
46 (void)version; /* Unused. Silent compiler warning. */
47 (void)upload_data; /* Unused. Silent compiler warning. */
48 (void)upload_data_size; /* Unused. Silent compiler warning. */
45 49
46 if (0 != strcmp (method, "GET")) 50 if (0 != strcmp (method, "GET"))
47 return MHD_NO; /* unexpected method */ 51 return MHD_NO; /* unexpected method */