diff --git a/src/examples/fileserver_example.c b/src/examples/fileserver_example.c index 93604d70..e2258063 100644 --- a/src/examples/fileserver_example.c +++ b/src/examples/fileserver_example.c @@ -34,7 +34,7 @@ file_reader (void *cls, uint64_t pos, char *buf, int max) { FILE *file = cls; - fseek (file, pos, SEEK_SET); + (void) fseek (file, pos, SEEK_SET); return fread (buf, 1, max, file); } @@ -113,7 +113,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/fileserver_example_dirs.c b/src/examples/fileserver_example_dirs.c index 30749fee..f3e51b51 100644 --- a/src/examples/fileserver_example_dirs.c +++ b/src/examples/fileserver_example_dirs.c @@ -166,7 +166,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/https_fileserver_example.c b/src/examples/https_fileserver_example.c index a675d310..c07e274a 100644 --- a/src/examples/https_fileserver_example.c +++ b/src/examples/https_fileserver_example.c @@ -186,7 +186,7 @@ main (int argc, char *const *argv) printf ("MHD daemon listening on port %d\n", atoi (argv[1])); } - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (TLS_daemon); diff --git a/src/examples/minimal_example.c b/src/examples/minimal_example.c index abc12772..8170419c 100644 --- a/src/examples/minimal_example.c +++ b/src/examples/minimal_example.c @@ -71,7 +71,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/minimal_example_comet.c b/src/examples/minimal_example_comet.c index 28f3e3c2..4aeb5db6 100644 --- a/src/examples/minimal_example_comet.c +++ b/src/examples/minimal_example_comet.c @@ -79,7 +79,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, NULL, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/querystring_example.c b/src/examples/querystring_example.c index 3bcc0be8..b9f6fb47 100644 --- a/src/examples/querystring_example.c +++ b/src/examples/querystring_example.c @@ -83,7 +83,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/refuse_post_example.c b/src/examples/refuse_post_example.c index 616eb3da..5445160b 100644 --- a/src/examples/refuse_post_example.c +++ b/src/examples/refuse_post_example.c @@ -91,7 +91,7 @@ main (int argc, char *const *argv) MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; }