aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-30 11:32:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-30 11:32:07 +0100
commitff463c609bd364a8090d89a52c4878fa1aef93bd (patch)
tree5ef217f37e5f082b1c3aa7537879f586465dec7a /src/plugins/regexp.c
parent56583a05d4f391afc3a7bb1551be9724a6d7ba72 (diff)
downloadrspamd-ff463c609bd364a8090d89a52c4878fa1aef93bd.tar.gz
rspamd-ff463c609bd364a8090d89a52c4878fa1aef93bd.zip
Fix couple of compiler warnings
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r--src/plugins/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index 43b9f9ab1..ceee20f92 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -128,7 +128,7 @@ regexp_module_init (struct rspamd_config *cfg, struct module_ctx **ctx)
gint
regexp_module_config (struct rspamd_config *cfg)
{
- struct regexp_module_item *cur_item;
+ struct regexp_module_item *cur_item = NULL;
const ucl_object_t *sec, *value, *elt;
ucl_object_iter_t it = NULL;
gint res = TRUE, id, nre = 0, nlua = 0;