From fd6c856b34c8fda53b7e45e3dcc17625206ed4fb Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 21 Jul 2011 17:35:29 +0400 Subject: Add workaround for clang under linux. Fix problems found by static analyzing. --- src/expressions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/expressions.c') diff --git a/src/expressions.c b/src/expressions.c index 396a5f6f1..a0bab2855 100644 --- a/src/expressions.c +++ b/src/expressions.c @@ -666,7 +666,7 @@ parse_regexp (memory_pool_t * pool, gchar *line, gboolean raw_mode) else { result->header = memory_pool_strdup (pool, line); result->type = REGEXP_HEADER; - line = begin; + line = start; } /* Find begin of regexp */ while (*line && *line != '/') { -- cgit v1.2.3