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
commit592eb1a4446426411935acdca7797a490dd5e5c8 (patch)
tree3fafa9c328a62f2bb6bb7621171dbf463f56e6ae
parent88638230d1b4d9ab9db82d0d8dc630643af69c46 (diff)
downloadvim-592eb1a4446426411935acdca7797a490dd5e5c8.tar.gz
updated for version 7.3.1195v7.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 e33e0cfb..0798f028 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 0b88903f..1547d57d 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,