changeset 4758:b25a1b2e3175 v7.3.1126

updated for version 7.3.1126 Problem: Compiler warning for unitialized variable. (Tony Mechelynck) Solution: Assign something to the variable.
author Bram Moolenaar <bram@vim.org>
date Wed, 05 Jun 2013 21:23:39 +0200
parents a809ac357e10
children 7bb5ac89e9ad
files src/regexp_nfa.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1126,
+/**/
     1125,
 /**/
     1124,