aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;