gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 03/07: daemon: muted compiler warning


From: gnunet
Subject: [libmicrohttpd] 03/07: daemon: muted compiler warning
Date: Sun, 17 Apr 2022 14:27:00 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit e76fc7f8aaf4907aa6ca0200e9682830f94a9ac2
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Apr 16 14:54:41 2022 +0300

    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));

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]