changeset 4899:4837fd61be52 v7.3.1195

updated for version 7.3.1195 Problem: Compiler warning for unitialized variable. (Tony Mechelynck) Solution: Set the length to the matching backref.
author Bram Moolenaar <bram@vim.org>
date Fri, 14 Jun 2013 22:48:54 +0200
parents 1011f04e527f
children c1170f618303
files src/regexp.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -5026,7 +5026,7 @@ regmatch(scan)
 					    reg_startpos[no].col,
 					    reg_endpos[no].lnum,
 					    reg_endpos[no].col,
-					    NULL);
+					    &len);
 			}
 		    }
 		}
--- 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 */
 /**/
+    1195,
+/**/
     1194,
 /**/
     1193,