1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

tool_urlglob.c: Fixed compiler warnings

warning: 'variable' may be used uninitialized in this function
This commit is contained in:
Steve Holme 2013-08-26 11:41:35 +01:00
parent 460fb12097
commit 84789e12fb

View File

@ -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;