diff --git a/doc/examples/responseheaders.c b/doc/examples/responseheaders.c index ef6b7c45..25cca43e 100644 --- a/doc/examples/responseheaders.c +++ b/doc/examples/responseheaders.c @@ -37,7 +37,8 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, (0 != fstat (fd, &sbuf)) ) { /* error accessing file */ - if (fd != -1) close (fd); + if (fd != -1) + (void) close (fd); const char *errorstr = "An internal server error has occured!\ ";