libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 91530f21e982350b98d9f6aa17379ad8af9f3158
parent 8eae5667edfb303f9d15d568d78b9db468d7e2ca
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 25 Aug 2019 11:22:52 +0200

fix compiler warnings

Diffstat:
Msrc/examples/suspend_resume_epoll.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/examples/suspend_resume_epoll.c b/src/examples/suspend_resume_epoll.c @@ -55,7 +55,9 @@ ahc_echo (void *cls, struct Request* req; struct itimerspec ts; + (void) cls; (void) url; /* Unused. Silence compiler warning. */ + (void) method; (void) version; /* Unused. Silence compiler warning. */ (void) upload_data; /* Unused. Silence compiler warning. */ (void) upload_data_size; /* Unused. Silence compiler warning. */ @@ -122,6 +124,9 @@ connection_done (void *cls, { struct Request *req = *con_cls; + (void) cls; + (void) connection; + (void) toe; if (-1 != req->timerfd) if (0 != close (req->timerfd)) abort ();