aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-12-29 23:28:46 +0000
committerGitHub <noreply@github.com>2020-12-29 23:28:46 +0000
commit569e39ce8fa74de68b9b764b65886b3c444d06fe (patch)
treecd54a2f123cb283e16bda606e274adfbc313abc6 /src/rspamd.c
parent5c222722ab5ebe57374218cdbd97aa678dad26e8 (diff)
parentd7738db6970c4cd838be067293abcdb5abc6a71c (diff)
downloadrspamd-569e39ce8fa74de68b9b764b65886b3c444d06fe.tar.gz
rspamd-569e39ce8fa74de68b9b764b65886b3c444d06fe.zip
Merge pull request #3589 from a16bitsysop/compiler-warnings
[Minor] Fix some compiler warnings
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 17b2956ab..fce081b1c 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -781,7 +781,7 @@ static void
mark_old_workers (gpointer key, gpointer value, gpointer unused)
{
struct rspamd_worker *w = value;
- struct rspamd_main *rspamd_main;
+ struct rspamd_main __attribute__ ((unused)) *rspamd_main;
rspamd_main = w->srv;