diff options
Diffstat (limited to 'src/urlglob.c')
-rw-r--r-- | src/urlglob.c | 4 |
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 |