]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Remove unused code.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 8 Jul 2013 19:49:43 +0000 (20:49 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 8 Jul 2013 19:49:43 +0000 (20:49 +0100)
src/main.c

index c855f893e2c89e1630b176530f8959f6bad41e8e..9b5a121088c5466c04c40aa9ce255ef1556acb63 100644 (file)
@@ -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++;
        }