aboutsummaryrefslogtreecommitdiff
path: root/src/examples/digest_auth_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/digest_auth_example.c
parent527700a01e67e35781a4ba789a43e4d982dd5b25 (diff)
downloadlibmicrohttpd-a5b63e992bb1d45982269cd4be4d8990414acc17.tar.gz
libmicrohttpd-a5b63e992bb1d45982269cd4be4d8990414acc17.zip
Muted compiler warnings in examples.
Diffstat (limited to 'src/examples/digest_auth_example.c')
-rw-r--r--src/examples/digest_auth_example.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/examples/digest_auth_example.c b/src/examples/digest_auth_example.c
index 548d0d96..4b00669f 100644
--- a/src/examples/digest_auth_example.c
+++ b/src/examples/digest_auth_example.c
@@ -45,6 +45,13 @@ ahc_echo (void *cls,
45 const char *password = "testpass"; 45 const char *password = "testpass";
46 const char *realm = "test@example.com"; 46 const char *realm = "test@example.com";
47 int ret; 47 int ret;
48 (void)cls; /* Unused. Silent compiler warning. */
49 (void)url; /* Unused. Silent compiler warning. */
50 (void)method; /* Unused. Silent compiler warning. */
51 (void)version; /* Unused. Silent compiler warning. */
52 (void)upload_data; /* Unused. Silent compiler warning. */
53 (void)upload_data_size; /* Unused. Silent compiler warning. */
54 (void)ptr; /* Unused. Silent compiler warning. */
48 55
49 username = MHD_digest_auth_get_username(connection); 56 username = MHD_digest_auth_get_username(connection);
50 if (username == NULL) 57 if (username == NULL)