From: Vsevolod Stakhov Date: Tue, 14 Sep 2021 20:21:07 +0000 (+0100) Subject: [Minor] Add attribute noreturn to start_hs_helper function X-Git-Tag: 3.1~162 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ec76c1fc65dff29e270ba2b93f35a5b8c2d32e17;p=rspamd.git [Minor] Add attribute noreturn to start_hs_helper function Suggested by: @citrin --- 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 */