commit e76fc7f8aaf4907aa6ca0200e9682830f94a9ac2 parent 4e34b6a43ad46421a73f7ab43c04d5447f4a5cc0 Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Sat, 16 Apr 2022 14:54:41 +0300 daemon: muted compiler warning Diffstat:
| M | src/microhttpd/daemon.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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));