unposted: silence compiler in pattern_match_restrict()

This commit is contained in:
Peter Stephenson 2008-06-09 08:41:26 +00:00
parent bb68ee8db7
commit deab7d6642
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-09 Peter Stephenson <pws@csr.com>
* unposted: Src/Zle/compmatch.c: silence compiler (has no
other effect).
2008-06-08 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 25138(?): Completion/compinstall, Doc/Zsh/compwid.yo,

View File

@ -1272,7 +1272,7 @@ pattern_match_restrict(Cpattern p, char *s, Cpattern wp, char *ws,
{
int c, ind;
int wc, wind;
int len, wlen, mt, wmt;
int len = 0, wlen, mt, wmt;
while (p && wp && *s && *ws) {
/* First test the word character */