]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add attribute noreturn to start_hs_helper function
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 14 Sep 2021 20:21:07 +0000 (21:21 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 14 Sep 2021 20:21:07 +0000 (21:21 +0100)
Suggested by: @citrin

src/hs_helper.c

index c19293bb19fe430e627b34cf207fd1e659212b32..e3c464786f9f263a39a82f1698b1a00be84d324c 100644 (file)
@@ -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 */