]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1126 v7.3.1126
authorBram Moolenaar <Bram@vim.org>
Wed, 5 Jun 2013 19:23:39 +0000 (21:23 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 5 Jun 2013 19:23:39 +0000 (21:23 +0200)
Problem:    Compiler warning for unitialized variable. (Tony Mechelynck)
Solution:   Assign something to the variable.

src/regexp_nfa.c
src/version.c

index 947b2e725cd712107f5290e4b8642f7935229db1..189e413ffec694a8a3de269e0b40efbe3458974e 100644 (file)
@@ -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)
index bd19cfdc734a87263da204c6f54859ff69ef0f00..92fa3d767f54bf8405432434bf801e743b93d4fa 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1126,
 /**/
     1125,
 /**/