diff options
-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 */ |