diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 3 |
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)); |