diff options
Diffstat (limited to 'src/examples/fileserver_example_external_select.c')
-rw-r--r-- | src/examples/fileserver_example_external_select.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/examples/fileserver_example_external_select.c b/src/examples/fileserver_example_external_select.c index 1ae79e16..6aea6dbf 100644 --- a/src/examples/fileserver_example_external_select.c +++ b/src/examples/fileserver_example_external_select.c | |||
@@ -62,6 +62,10 @@ ahc_echo (void *cls, | |||
62 | FILE *file; | 62 | FILE *file; |
63 | int fd; | 63 | int fd; |
64 | struct stat buf; | 64 | struct stat buf; |
65 | (void)cls; /* Unused. Silent compiler warning. */ | ||
66 | (void)version; /* Unused. Silent compiler warning. */ | ||
67 | (void)upload_data; /* Unused. Silent compiler warning. */ | ||
68 | (void)upload_data_size; /* Unused. Silent compiler warning. */ | ||
65 | 69 | ||
66 | if (0 != strcmp (method, MHD_HTTP_METHOD_GET)) | 70 | if (0 != strcmp (method, MHD_HTTP_METHOD_GET)) |
67 | return MHD_NO; /* unexpected method */ | 71 | return MHD_NO; /* unexpected method */ |