summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-07-08 20:49:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-07-08 20:49:43 +0100
commit2e57f7dabfb376f7188c17f61f6d1d68b79278f8 (patch)
tree8ba9aae4620958e2d9b6248239be10b1939a0af9
parent93fb9617d5dcb796369c4a3800b216491b8a1441 (diff)
downloadrspamd-2e57f7dabfb376f7188c17f61f6d1d68b79278f8.tar.gz
rspamd-2e57f7dabfb376f7188c17f61f6d1d68b79278f8.zip
Remove unused code.
-rw-r--r--src/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index c855f893e..9b5a12108 100644
--- a/src/main.c
+++ b/src/main.c
@@ -347,10 +347,6 @@ parse_filters_str (struct config_file *cfg, const gchar *str)
p++;
continue;
}
- cur = memory_pool_alloc (cfg->cfg_pool, sizeof (struct filter));
- cur->type = PERL_FILTER;
- cur->func_name = memory_pool_strdup (cfg->cfg_pool, *p);
- cfg->filters = g_list_prepend (cfg->filters, cur);
p++;
}