daemon: muted compiler warning

This commit is contained in:
Evgeny Grin (Karlson2k)
2022-04-17 15:24:37 +03:00
parent 4e34b6a43a
commit e76fc7f8aa
+3
View File
@@ -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));