From e76fc7f8aaf4907aa6ca0200e9682830f94a9ac2 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sat, 16 Apr 2022 14:54:41 +0300 Subject: daemon: muted compiler warning --- src/microhttpd/daemon.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 72ba708a..1cca1b30 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -325,6 +325,9 @@ MHD_ip_addr_to_key (const struct sockaddr *addr, socklen_t addrlen, struct MHD_IPCount *key) { +#ifndef DEBUG + (void) addrlen; /* Mute compiler warning */ +#endif /* DEBUG */ memset (key, 0, sizeof(*key)); -- cgit v1.2.3