mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-26 04:09:30 +03:00
Muted compiler warnings in examples.
This commit is contained in:
@@ -129,6 +129,10 @@ http_ahc (void *cls,
|
||||
FILE *file;
|
||||
int fd;
|
||||
struct stat buf;
|
||||
(void)cls; /* Unused. Silent compiler warning. */
|
||||
(void)version; /* Unused. Silent compiler warning. */
|
||||
(void)upload_data; /* Unused. Silent compiler warning. */
|
||||
(void)upload_data_size; /* Unused. Silent compiler warning. */
|
||||
|
||||
if (0 != strcmp (method, MHD_HTTP_METHOD_GET))
|
||||
return MHD_NO; /* unexpected method */
|
||||
|
||||
Reference in New Issue
Block a user