summaryrefslogtreecommitdiff
path: root/src/regexp_nfa.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-05 21:23:39 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-05 21:23:39 +0200
commitc19b4b50a800c9866df4de0d30a25dc9d9af4939 (patch)
tree87b93edcd6a7183a591b8cb10f35a7962f023c28 /src/regexp_nfa.c
parent973fced7632fcbc2856aa842d5d872b6472f523c (diff)
downloadvim-git-c19b4b50a800c9866df4de0d30a25dc9d9af4939.tar.gz
updated for version 7.3.1126v7.3.1126
Problem: Compiler warning for unitialized variable. (Tony Mechelynck) Solution: Assign something to the variable.
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r--src/regexp_nfa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 947b2e725..189e413ff 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -2580,6 +2580,7 @@ post2nfa(postfix, end, nfa_calc_size)
nstate += n;
break;
}
+ s = NULL; /* avoid compiler warning */
e1.out = NULL; /* stores list with out1's */
s1 = NULL; /* previous NFA_SPLIT to connect to */
while (n-- > 0)