summaryrefslogtreecommitdiff
path: root/src/tool_urlglob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_urlglob.c')
-rw-r--r--src/tool_urlglob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c
index ac13d683d..1644077f2 100644
--- a/src/tool_urlglob.c
+++ b/src/tool_urlglob.c
@@ -249,8 +249,8 @@ static GlobCode glob_range(URLGlob *glob, char **patternp,
else if(ISDIGIT(*pattern)) {
/* numeric range detected */
unsigned long min_n;
- unsigned long max_n;
- unsigned long step_n;
+ unsigned long max_n = 0;
+ unsigned long step_n = 0;
char *endp;
pat->type = UPTNumRange;