diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-10-04 10:32:11 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-10-04 10:32:11 +0300 |
commit | 85db559ed6a0df39587cad4d055020a84d18e04b (patch) | |
tree | cc493eee85f14f023d1700fab041c1aaef0cf14d /src/microhttpd/daemon.c | |
parent | 22aff9e263b1e753715c8417cd3ee61b61768104 (diff) | |
download | libmicrohttpd-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.c | 2 |
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 | */ |
128 | static void | 128 | _MHD_NORETURN static void |
129 | mhd_panic_std (void *cls, | 129 | mhd_panic_std (void *cls, |
130 | const char *file, | 130 | const char *file, |
131 | unsigned int line, | 131 | unsigned int line, |