]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.1072 v7.3.1072
authorBram Moolenaar <Bram@vim.org>
Thu, 30 May 2013 15:49:24 +0000 (17:49 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 30 May 2013 15:49:24 +0000 (17:49 +0200)
Problem:    Compiler warning for unitialized variable.
Solution:   Initialize it.

src/regexp_nfa.c
src/version.c

index dbc2902adae77f2b0b7795e702f16e73dcd7d837..fd72e9e0b9dce7673fe9bffdcdf973bb1c5aa429 100644 (file)
@@ -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)
index cd82151f060e65c999311dd911b1610b33888ec7..5a3bb35e6cd3a80beedaa9774d076b1eadb4c8dc 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1072,
 /**/
     1071,
 /**/