Mercurial > vim
comparison src/regexp.c @ 4899:4837fd61be52 v7.3.1195
updated for version 7.3.1195
Problem: Compiler warning for unitialized variable. (Tony Mechelynck)
Solution: Set the length to the matching backref.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 14 Jun 2013 22:48:54 +0200 |
parents | 4c42efb4c098 |
children | 56fbf60e9476 |
comparison
equal
deleted
inserted
replaced
4898:1011f04e527f | 4899:4837fd61be52 |
---|---|
5024 status = match_with_backref( | 5024 status = match_with_backref( |
5025 reg_startpos[no].lnum, | 5025 reg_startpos[no].lnum, |
5026 reg_startpos[no].col, | 5026 reg_startpos[no].col, |
5027 reg_endpos[no].lnum, | 5027 reg_endpos[no].lnum, |
5028 reg_endpos[no].col, | 5028 reg_endpos[no].col, |
5029 NULL); | 5029 &len); |
5030 } | 5030 } |
5031 } | 5031 } |
5032 } | 5032 } |
5033 | 5033 |
5034 /* Matched the backref, skip over it. */ | 5034 /* Matched the backref, skip over it. */ |