From 6e31344466e2558a99cd46bb29abaa37e1faffc6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 10 Oct 2019 17:17:09 +0100 Subject: [Minor] Fix compile warnings --- src/libserver/spf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libserver/spf.c') diff --git a/src/libserver/spf.c b/src/libserver/spf.c index 02041b015..631594808 100644 --- a/src/libserver/spf.c +++ b/src/libserver/spf.c @@ -1937,7 +1937,6 @@ parse_spf_record (struct spf_record *rec, struct spf_resolved_element *resolved, struct spf_addr *addr = NULL; gboolean res = FALSE; const gchar *begin; - struct rspamd_task *task; gchar t; g_assert (elt != NULL); @@ -1947,7 +1946,6 @@ parse_spf_record (struct spf_record *rec, struct spf_resolved_element *resolved, return TRUE; } - task = rec->task; begin = expand_spf_macro (rec, resolved, elt); addr = rspamd_spf_new_addr (rec, resolved, begin); g_assert (addr != NULL); -- cgit v1.2.3