aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-12-25 15:26:26 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-12-25 15:26:26 +0300
commit1497b774c767d24230804835e624fb9099b7d91e (patch)
tree5d3eb36a265da3a99aa0586a3192f0ee5d0e4688
parent826b4a7a812fd98dfc3107f0a26a31031d8e0981 (diff)
downloadlibmicrohttpd-1497b774c767d24230804835e624fb9099b7d91e.tar.gz
libmicrohttpd-1497b774c767d24230804835e624fb9099b7d91e.zip
connection: mute compiler warning for some platforms
-rw-r--r--src/microhttpd/connection.c2
1 files changed, 2 insertions, 0 deletions
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)
4368 mhd_assert ( (0 == (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) || \ 4368 mhd_assert ( (0 == (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) || \
4369 MHD_thread_ID_match_current_ (connection->pid) ); 4369 MHD_thread_ID_match_current_ (connection->pid) );
4370#endif /* MHD_USE_THREADS */ 4370#endif /* MHD_USE_THREADS */
4371 /* 'daemon' is not used if epoll is not available and asserts are disabled */
4372 (void) daemon; /* Mute compiler warning */
4371 4373
4372 connection->in_idle = true; 4374 connection->in_idle = true;
4373 while (! connection->suspended) 4375 while (! connection->suspended)