mirror of git://git.code.sf.net/p/zsh/code
unposted: silence compiler in pattern_match_restrict()
This commit is contained in:
parent
bb68ee8db7
commit
deab7d6642
|
@ -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,
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue