summary refs log tree commit diff
path: root/Src/Zle/compmatch.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-06-09 08:41:26 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-06-09 08:41:26 +0000
commitdeab7d6642ad9353d81037e923c73b4e4897a751 (patch)
tree19f52917f0aac704bb8774bacac40c77e8b99f54 /Src/Zle/compmatch.c
parentbb68ee8db7971b683fba7dd7bf404186872ba7cf (diff)
downloadzsh-deab7d6642ad9353d81037e923c73b4e4897a751.tar.gz
zsh-deab7d6642ad9353d81037e923c73b4e4897a751.tar.xz
zsh-deab7d6642ad9353d81037e923c73b4e4897a751.zip
unposted: silence compiler in pattern_match_restrict()
Diffstat (limited to 'Src/Zle/compmatch.c')
-rw-r--r--Src/Zle/compmatch.c2
1 files changed, 1 insertions, 1 deletions
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 */