diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-09 08:41:26 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-09 08:41:26 +0000 |
commit | deab7d6642ad9353d81037e923c73b4e4897a751 (patch) | |
tree | 19f52917f0aac704bb8774bacac40c77e8b99f54 | |
parent | bb68ee8db7971b683fba7dd7bf404186872ba7cf (diff) | |
download | zsh-deab7d6642ad9353d81037e923c73b4e4897a751.tar.gz zsh-deab7d6642ad9353d81037e923c73b4e4897a751.tar.xz zsh-deab7d6642ad9353d81037e923c73b4e4897a751.zip |
unposted: silence compiler in pattern_match_restrict()
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/compmatch.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index f559053cc..26faf4bb8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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, diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index e59443c01..93e0049a6 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -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 */ |