summary refs log tree commit diff
path: root/Src/Zle/compmatch.c
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-12-10 19:13:53 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2016-12-10 19:13:53 -0800
commitefd3baf2a2dd09c162c37ad1d6ea71a45620fb7f (patch)
tree3d8e058aa65213e299265d38cf81a5ff7cccf4fe /Src/Zle/compmatch.c
parent74b7c6b7d6e12c64de0597c9ad6e237507efdd62 (diff)
downloadzsh-efd3baf2a2dd09c162c37ad1d6ea71a45620fb7f.tar.gz
zsh-efd3baf2a2dd09c162c37ad1d6ea71a45620fb7f.tar.xz
zsh-efd3baf2a2dd09c162c37ad1d6ea71a45620fb7f.zip
40134: silence spurious compiler warnings.
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 f82f00e1d..aedf463fc 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -674,7 +674,7 @@ match_str(char *l, char *w, Brinfo *bpp, int bc, int *rwlp,
 		     *
 		     * operation.  Similar to savw.
 		     */
-		    char savl;
+		    char savl = 0;
 		    /*
 		     * The anchor on this end.
 		     */