aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-04 10:32:11 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-04 10:32:11 +0300
commit85db559ed6a0df39587cad4d055020a84d18e04b (patch)
treecc493eee85f14f023d1700fab041c1aaef0cf14d /src/microhttpd/daemon.c
parent22aff9e263b1e753715c8417cd3ee61b61768104 (diff)
downloadlibmicrohttpd-85db559ed6a0df39587cad4d055020a84d18e04b.tar.gz
libmicrohttpd-85db559ed6a0df39587cad4d055020a84d18e04b.zip
Added support for "noreturn" function declaration.
It should help static analyzer to properly detect code paths.
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index f1660848..d022247d 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -125,7 +125,7 @@ MHD_epoll (struct MHD_Daemon *daemon,
125 * @param line line number with the problem 125 * @param line line number with the problem
126 * @param reason error message with details 126 * @param reason error message with details
127 */ 127 */
128static void 128_MHD_NORETURN static void
129mhd_panic_std (void *cls, 129mhd_panic_std (void *cls,
130 const char *file, 130 const char *file,
131 unsigned int line, 131 unsigned int line,