Muted compiler warnings in examples.

This commit is contained in:
Evgeny Grin (Karlson2k)
2017-09-29 22:07:49 +03:00
parent 527700a01e
commit a5b63e992b
27 changed files with 204 additions and 13 deletions
+4
View File
@@ -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 */