aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-08-26 11:41:35 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-08-26 11:41:35 +0100
commit84789e12fb1d6d22532bd2ce7bfae3a160648a60 (patch)
tree19daaf084a6bdad46da713c40360eaa0ad3b1a0d
parent460fb120977e367853afc505a5f699ee0f0ac5a4 (diff)
tool_urlglob.c: Fixed compiler warnings
warning: 'variable' may be used uninitialized in this function
-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;