aboutsummaryrefslogtreecommitdiff
path: root/src/urlglob.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-16 09:17:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-16 09:17:04 +0000
commit61e3d75def4ca1789a847fe57b06ab25ede05731 (patch)
treec0427949550579dcd921dee721415b9ab9ca72d4 /src/urlglob.c
parent27b7220f1b536f3854d9fa35d0bd12321ac858e3 (diff)
Gisle Vanem's patch for variables that "might be used uninitialized"
Diffstat (limited to 'src/urlglob.c')
-rw-r--r--src/urlglob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urlglob.c b/src/urlglob.c
index 8b0da9c69..e1be1834f 100644
--- a/src/urlglob.c
+++ b/src/urlglob.c
@@ -435,8 +435,8 @@ char *glob_match_url(char *filename, URLGlob *glob)
int allocsize;
int stringlen=0;
char numbuf[18];
- char *appendthis;
- int appendlen;
+ char *appendthis = NULL;
+ int appendlen = 0;
/* We cannot use the glob_buffer for storage here since the filename may
* be longer than the URL we use. We allocate a good start size, then