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:
parent
460fb12097
commit
84789e12fb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user