summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-14 22:48:54 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-14 22:48:54 +0200
commit4cff8faf0567209ab95b39b9cf7f3d555162392e (patch)
tree6f362bc8f069f46d63679db3a85f0acc28c19619
parent44c71db7711e3faa7d94ed4b5f32985563e7e494 (diff)
downloadvim-git-4cff8faf0567209ab95b39b9cf7f3d555162392e.tar.gz
updated for version 7.3.1195v7.3.1195
Problem: Compiler warning for unitialized variable. (Tony Mechelynck) Solution: Set the length to the matching backref.
-rw-r--r--src/regexp.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1195,
+/**/
1194,
/**/
1193,