From ec76c1fc65dff29e270ba2b93f35a5b8c2d32e17 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 14 Sep 2021 21:21:07 +0100 Subject: [PATCH] [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 */ -- 2.39.5