diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index b1c7e88d..8005c01e 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -137,6 +137,10 @@ mhd_panic_std (void *cls, | |||
137 | file, | 137 | file, |
138 | line, | 138 | line, |
139 | reason); | 139 | reason); |
140 | #else /* ! HAVE_MESSAGES */ | ||
141 | (void)file; /* Mute compiler warning. */ | ||
142 | (void)line; /* Mute compiler warning. */ | ||
143 | (void)reason; /* Mute compiler warning. */ | ||
140 | #endif | 144 | #endif |
141 | abort (); | 145 | abort (); |
142 | } | 146 | } |
@@ -5071,6 +5075,10 @@ setup_epoll_fd (struct MHD_Daemon *daemon) | |||
5071 | { | 5075 | { |
5072 | int fd; | 5076 | int fd; |
5073 | 5077 | ||
5078 | #ifndef HAVE_MESSAGES | ||
5079 | (void)daemon; /* Mute compiler warning. */ | ||
5080 | #endif /* ! HAVE_MESSAGES */ | ||
5081 | |||
5074 | #ifdef USE_EPOLL_CREATE1 | 5082 | #ifdef USE_EPOLL_CREATE1 |
5075 | fd = epoll_create1 (EPOLL_CLOEXEC); | 5083 | fd = epoll_create1 (EPOLL_CLOEXEC); |
5076 | #else /* ! USE_EPOLL_CREATE1 */ | 5084 | #else /* ! USE_EPOLL_CREATE1 */ |