0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

updated for version 7.3.1126

Problem:    Compiler warning for unitialized variable. (Tony Mechelynck)
Solution:   Assign something to the variable.
This commit is contained in:
Bram Moolenaar
2013-06-05 21:23:39 +02:00
parent 973fced763
commit c19b4b50a8
2 changed files with 3 additions and 0 deletions

View File

@@ -2580,6 +2580,7 @@ post2nfa(postfix, end, nfa_calc_size)
nstate += n; nstate += n;
break; break;
} }
s = NULL; /* avoid compiler warning */
e1.out = NULL; /* stores list with out1's */ e1.out = NULL; /* stores list with out1's */
s1 = NULL; /* previous NFA_SPLIT to connect to */ s1 = NULL; /* previous NFA_SPLIT to connect to */
while (n-- > 0) while (n-- > 0)

View File

@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1126,
/**/ /**/
1125, 1125,
/**/ /**/