diff options
Diffstat (limited to 'doc/examples/responseheaders.c')
-rw-r--r-- | doc/examples/responseheaders.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/examples/responseheaders.c b/doc/examples/responseheaders.c index aa5cd7e2..0f459c2e 100644 --- a/doc/examples/responseheaders.c +++ b/doc/examples/responseheaders.c | |||
@@ -29,6 +29,12 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
29 | int fd; | 29 | int fd; |
30 | int ret; | 30 | int ret; |
31 | struct stat sbuf; | 31 | struct stat sbuf; |
32 | (void)cls; /* Unused. Silent compiler warning. */ | ||
33 | (void)url; /* Unused. Silent compiler warning. */ | ||
34 | (void)version; /* Unused. Silent compiler warning. */ | ||
35 | (void)upload_data; /* Unused. Silent compiler warning. */ | ||
36 | (void)upload_data_size; /* Unused. Silent compiler warning. */ | ||
37 | (void)con_cls; /* Unused. Silent compiler warning. */ | ||
32 | 38 | ||
33 | if (0 != strcmp (method, "GET")) | 39 | if (0 != strcmp (method, "GET")) |
34 | return MHD_NO; | 40 | return MHD_NO; |