From: Bram Moolenaar Date: Fri, 14 Jun 2013 20:48:54 +0000 (+0200) Subject: updated for version 7.3.1195 X-Git-Tag: v7.3.1195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cff8faf0567209ab95b39b9cf7f3d555162392e;p=vim updated for version 7.3.1195 Problem: Compiler warning for unitialized variable. (Tony Mechelynck) Solution: Set the length to the matching backref. --- 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, /**/