commit ec76c1f: [Minor] Add attribute noreturn to start_hs_helper function
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Sep 14 20:28:04 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-09-14 21:21:07 +0100
URL: https://github.com/rspamd/rspamd/commit/ec76c1fc65dff29e270ba2b93f35a5b8c2d32e17 (HEAD -> master)
[Minor] Add attribute noreturn to start_hs_helper function
Suggested by: @citrin
---
src/hs_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hs_helper.c b/src/hs_helper.c
index c19293bb1..e3c464786 100644
--- a/src/hs_helper.c
+++ b/src/hs_helper.c
@@ -26,7 +26,7 @@
#endif
static gpointer init_hs_helper (struct rspamd_config *cfg);
-static void start_hs_helper (struct rspamd_worker *worker);
+__attribute__((noreturn)) static void start_hs_helper (struct rspamd_worker *worker);
worker_t hs_helper_worker = {
"hs_helper", /* Name */
More information about the Commits
mailing list