From deab7d6642ad9353d81037e923c73b4e4897a751 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 9 Jun 2008 08:41:26 +0000 Subject: unposted: silence compiler in pattern_match_restrict() --- Src/Zle/compmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/compmatch.c') 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 */ -- cgit 1.4.1