aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-16 14:54:41 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-17 15:24:37 +0300
commite76fc7f8aaf4907aa6ca0200e9682830f94a9ac2 (patch)
treea5bf97e785c266446416d8e0758e9f26de83c9ab
parent4e34b6a43ad46421a73f7ab43c04d5447f4a5cc0 (diff)
downloadlibmicrohttpd-e76fc7f8aaf4907aa6ca0200e9682830f94a9ac2.tar.gz
libmicrohttpd-e76fc7f8aaf4907aa6ca0200e9682830f94a9ac2.zip
daemon: muted compiler warning
-rw-r--r--src/microhttpd/daemon.c3
1 files changed, 3 insertions, 0 deletions
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,
325 socklen_t addrlen, 325 socklen_t addrlen,
326 struct MHD_IPCount *key) 326 struct MHD_IPCount *key)
327{ 327{
328#ifndef DEBUG
329 (void) addrlen; /* Mute compiler warning */
330#endif /* DEBUG */
328 memset (key, 331 memset (key,
329 0, 332 0,
330 sizeof(*key)); 333 sizeof(*key));