aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-10 17:17:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-10 17:17:09 +0100
commit6e31344466e2558a99cd46bb29abaa37e1faffc6 (patch)
treeae51cd2a56c252d6f0df6755b76719fe121e81e3 /src/libserver/spf.c
parentc4d3eb4af41a17cf28cb4fbb171d9b70d98259b5 (diff)
downloadrspamd-6e31344466e2558a99cd46bb29abaa37e1faffc6.tar.gz
rspamd-6e31344466e2558a99cd46bb29abaa37e1faffc6.zip
[Minor] Fix compile warnings
Diffstat (limited to 'src/libserver/spf.c')
-rw-r--r--src/libserver/spf.c2
1 files changed, 0 insertions, 2 deletions
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);