aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2020-12-27 22:41:12 +0000
committerDuncan Bellamy <dunk@denkimushi.com>2020-12-29 23:20:38 +0000
commitd7738db6970c4cd838be067293abcdb5abc6a71c (patch)
treea7f54443bbb3ac6cc19522b113afff96e2899958 /src/rspamd.c
parentd6fcb8bd182e9646166ef446a1dfd03eff6417f0 (diff)
downloadrspamd-d7738db6970c4cd838be067293abcdb5abc6a71c.tar.gz
rspamd-d7738db6970c4cd838be067293abcdb5abc6a71c.zip
[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;