changeset 4649:9f502d8d5165 v7.3.1072

updated for version 7.3.1072 Problem: Compiler warning for unitialized variable. Solution: Initialize it.
author Bram Moolenaar <bram@vim.org>
date Thu, 30 May 2013 17:49:24 +0200
parents 4db8db5195d7
children e030bcb72325
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
@@ -2873,6 +2873,7 @@ addstate(l, state, sub, off)
 
 	    /* Set the position (with "off") in the subexpression.  Save and
 	     * restore it when it was in use.  Otherwise fill any gap. */
+	    save_ptr = NULL;
 	    if (REG_MULTI)
 	    {
 		if (subidx < sub->in_use)
--- 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 */
 /**/
+    1072,
+/**/
     1071,
 /**/
     1070,