summaryrefslogtreecommitdiff
path: root/src/regexp.c
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 /src/regexp.c
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.
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c2
1 files changed, 1 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);
}
}
}