diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-08-26 11:41:35 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-08-26 11:41:35 +0100 |
commit | 84789e12fb1d6d22532bd2ce7bfae3a160648a60 (patch) | |
tree | 19daaf084a6bdad46da713c40360eaa0ad3b1a0d /src/tool_urlglob.c | |
parent | 460fb120977e367853afc505a5f699ee0f0ac5a4 (diff) | |
download | curl-84789e12fb1d6d22532bd2ce7bfae3a160648a60.tar.gz |
tool_urlglob.c: Fixed compiler warnings
warning: 'variable' may be used uninitialized in this function
Diffstat (limited to 'src/tool_urlglob.c')
-rw-r--r-- | src/tool_urlglob.c | 4 |
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; |