From 4cff8faf0567209ab95b39b9cf7f3d555162392e 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 e33e0cfbe..0798f028b 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 0b88903fe..1547d57dd 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, /**/