commit 1497b774c767d24230804835e624fb9099b7d91e
parent 826b4a7a812fd98dfc3107f0a26a31031d8e0981
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sat, 25 Dec 2021 15:26:26 +0300
connection: mute compiler warning for some platforms
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)