[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.
- [libmicrohttpd] branch master updated (b908403e -> 1907cc2b), gnunet, 2022/04/17
- [libmicrohttpd] 07/07: MHD_Connection: added 'const' qualifiers to some unmodifiable members, gnunet, 2022/04/17
- [libmicrohttpd] 03/07: daemon: muted compiler warning,
gnunet <=
- [libmicrohttpd] 06/07: connection: removed drop of 'const' qualifier, gnunet, 2022/04/17
- [libmicrohttpd] 02/07: configure: minor fix, gnunet, 2022/04/17
- [libmicrohttpd] 01/07: configure: fixed broken configure due to the missing value, gnunet, 2022/04/17
- [libmicrohttpd] 04/07: Refactoring: different types for response and request headers, gnunet, 2022/04/17
- [libmicrohttpd] 05/07: test_postprocessor_amp: fixed code style, gnunet, 2022/04/17