diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-15 15:54:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-15 15:54:43 +0000 |
commit | 27e45bef83fe17b339fe345e3455a67b7416e1d3 (patch) | |
tree | a916601653c8eaca9488d7dd55b4de565078047d /src/plugins/surbl.c | |
parent | 46fd25c4dda2e4cc25f662dc5cb5dad0d4380503 (diff) | |
download | rspamd-27e45bef83fe17b339fe345e3455a67b7416e1d3.tar.gz rspamd-27e45bef83fe17b339fe345e3455a67b7416e1d3.zip |
Fix warnings.
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r-- | src/plugins/surbl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 480c40d4e..2923b2d45 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -491,7 +491,6 @@ surbl_module_config (struct rspamd_config *cfg) const gchar *redir_val, *ip_val; guint32 bit; gint cb_id, nrules = 0; - gboolean has_subsymbols; if (!rspamd_config_is_module_enabled (cfg, "surbl")) { return TRUE; @@ -672,7 +671,6 @@ surbl_module_config (struct rspamd_config *cfg) -1); nrules++; new_suffix->callback_id = cb_id; - has_subsymbols = FALSE; cur = ucl_obj_get_key (cur_rule, "bits"); if (cur != NULL && cur->type == UCL_OBJECT) { @@ -701,7 +699,6 @@ surbl_module_config (struct rspamd_config *cfg) msg_debug_config ("add new bit suffix: %d with symbol: %s", (gint)new_bit->bit, new_bit->symbol); g_array_append_val (new_suffix->bits, *new_bit); - has_subsymbols = TRUE; } } } @@ -746,7 +743,6 @@ surbl_module_config (struct rspamd_config *cfg) (gint)new_bit->bit, new_bit->symbol); g_hash_table_insert (new_suffix->ips, &new_bit->bit, new_bit); - has_subsymbols = TRUE; } } } |