about summary refs log tree commit diff
path: root/Src/glob.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-22 12:35:20 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-22 12:35:20 +0000
commitd139ae56432a82a3dbe11f4be89ba7d886f2c177 (patch)
treef2cd4d874fe13fe923490dd69bd92a0fb3314381 /Src/glob.c
parentfdb8d5b45550835c00f40591e6ee5b6f6f6fd868 (diff)
downloadzsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.gz
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.xz
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.zip
zsh-3.1.6-pws-5 zsh-3.1.6-pws-5
Diffstat (limited to 'Src/glob.c')
-rw-r--r--Src/glob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/glob.c b/Src/glob.c
index 55cc96a52..07336986d 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -2001,7 +2001,7 @@ getmatcharr(char ***ap, char *pat, int fl, int n, char *replstr)
 static int
 igetmatch(char **sp, Patprog p, int fl, int n, char *replstr)
 {
-    char *s = *sp, *t, *start, sav;
+    char *s = *sp, *t, sav;
     int i, l = strlen(*sp), ml = ztrlen(*sp), matched = 1;
 
     MUSTUSEHEAP("igetmatch");	/* presumably covered by prefork() test */
@@ -2210,7 +2210,7 @@ igetmatch(char **sp, Patprog p, int fl, int n, char *replstr)
 	LinkNode nd;
 	Repldata rd;
 	int lleft = 0;		/* size of returned string */
-	char *ptr;
+	char *ptr, *start;
 
 	i = 0;			/* start of last chunk we got from *sp */
 	for (nd = firstnode(repllist); nd; incnode(nd)) {