Skip to content
Snippets Groups Projects
Commit 84789e12 authored by Steve Holme's avatar Steve Holme
Browse files

tool_urlglob.c: Fixed compiler warnings

warning: 'variable' may be used uninitialized in this function
parent 460fb120
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment