gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: connection: mute compiler warning


From: gnunet
Subject: [libmicrohttpd] branch master updated: connection: mute compiler warning for some platforms
Date: Sat, 25 Dec 2021 13:26:40 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 1497b774 connection: mute compiler warning for some platforms
1497b774 is described below

commit 1497b774c767d24230804835e624fb9099b7d91e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Dec 25 15:26:26 2021 +0300

    connection: mute compiler warning for some platforms
---
 src/microhttpd/connection.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 6963c228..79014352 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -4368,6 +4368,8 @@ MHD_connection_handle_idle (struct MHD_Connection 
*connection)
   mhd_assert ( (0 == (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) || \
                MHD_thread_ID_match_current_ (connection->pid) );
 #endif /* MHD_USE_THREADS */
+  /* 'daemon' is not used if epoll is not available and asserts are disabled */
+  (void) daemon; /* Mute compiler warning */
 
   connection->in_idle = true;
   while (! connection->suspended)

-- 
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]