summaryrefslogtreecommitdiffstats
path: root/src/libutil/expression.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-18 10:22:27 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-18 10:22:27 +0000
commit842222c02832654c599241a639be4de5efa66c4a (patch)
tree37e76169070f54dab2101ef50b34a18300b7f38e /src/libutil/expression.c
parent29a5425adb186ac73ec2b7b436cb9e87be762adb (diff)
downloadrspamd-842222c02832654c599241a639be4de5efa66c4a.tar.gz
rspamd-842222c02832654c599241a639be4de5efa66c4a.zip
Initialize state.
Diffstat (limited to 'src/libutil/expression.c')
-rw-r--r--src/libutil/expression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/expression.c b/src/libutil/expression.c
index 3ae7ed469..a2552baef 100644
--- a/src/libutil/expression.c
+++ b/src/libutil/expression.c
@@ -311,7 +311,7 @@ rspamd_parse_expression (const gchar *line, gsize len,
PARSE_OP,
PARSE_LIM,
SKIP_SPACES
- } state;
+ } state = PARSE_ATOM;
g_assert (line != NULL);
g_assert (subr != NULL && subr->parse != NULL);