diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-05 21:23:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-05 21:23:39 +0200 |
commit | c19b4b50a800c9866df4de0d30a25dc9d9af4939 (patch) | |
tree | 87b93edcd6a7183a591b8cb10f35a7962f023c28 /src/regexp_nfa.c | |
parent | 973fced7632fcbc2856aa842d5d872b6472f523c (diff) | |
download | vim-c19b4b50a800c9866df4de0d30a25dc9d9af4939.zip |
updated for version 7.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.c | 1 |
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) |