From 84789e12fb1d6d22532bd2ce7bfae3a160648a60 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Mon, 26 Aug 2013 11:41:35 +0100 Subject: tool_urlglob.c: Fixed compiler warnings warning: 'variable' may be used uninitialized in this function --- src/tool_urlglob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tool_urlglob.c') 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; -- cgit v1.2.1