about summary refs log tree commit diff
path: root/Src/pattern.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-16 08:48:06 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-16 08:48:06 +0000
commit990818d0292e6a80e8b10fc32e6949f3278fcf84 (patch)
tree87e152b46b99a110f793d52ea7b60a2683e568b3 /Src/pattern.c
parent6296ccf4c4eddaff4abf8cb25869d8e7c9dc228f (diff)
downloadzsh-990818d0292e6a80e8b10fc32e6949f3278fcf84.tar.gz
zsh-990818d0292e6a80e8b10fc32e6949f3278fcf84.tar.xz
zsh-990818d0292e6a80e8b10fc32e6949f3278fcf84.zip
zsh-workers/9077
Diffstat (limited to 'Src/pattern.c')
-rw-r--r--Src/pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/pattern.c b/Src/pattern.c
index 7d77a94da..27fcd0a7e 100644
--- a/Src/pattern.c
+++ b/Src/pattern.c
@@ -1294,7 +1294,7 @@ pattry(Patprog prog, char *string)
 mod_export int
 pattryrefs(Patprog prog, char *string, int *nump, int *begp, int *endp)
 {
-    int i, maxnpos;
+    int i, maxnpos = 0;
     char **sp, **ep;
     char *progstr = (char *)prog + prog->startoff;