From 6eed38954f0a0840bf39e4d2fedca98bcf98c2db Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 14 Jun 2013 22:48:54 +0200 Subject: [PATCH] updated for version 7.3.1195 Problem: Compiler warning for unitialized variable. (Tony Mechelynck) Solution: Set the length to the matching backref. --- src/regexp.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/regexp.c b/src/regexp.c index e33e0cfbe1..0798f028b0 100644 --- 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); } } } diff --git a/src/version.c b/src/version.c index 0b88903fe8..1547d57dd7 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1195, /**/ 1194, /**/