]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1195 v7.3.1195
authorBram Moolenaar <Bram@vim.org>
Fri, 14 Jun 2013 20:48:54 +0000 (22:48 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 14 Jun 2013 20:48:54 +0000 (22:48 +0200)
Problem:    Compiler warning for unitialized variable. (Tony Mechelynck)
Solution:   Set the length to the matching backref.

src/regexp.c
src/version.c

index e33e0cfbe1216a33ec44472926fffa01e6b719f8..0798f028b0a66f8357ae297fcac81c9fcc0dfc2d 100644 (file)
@@ -5026,7 +5026,7 @@ regmatch(scan)
                                            reg_startpos[no].col,
                                            reg_endpos[no].lnum,
                                            reg_endpos[no].col,
-                                           NULL);
+                                           &len);
                        }
                    }
                }
index 0b88903fe8ebed6c49ac99e4b7ff20262b4dcb0e..1547d57dd7f64d0800ad346bc9841dd3262e4bf8 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1195,
 /**/
     1194,
 /**/