projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
460fb12
)
tool_urlglob.c: Fixed compiler warnings
author
Steve Holme
<steve_holme@hotmail.com>
Mon, 26 Aug 2013 10:41:35 +0000
(11:41 +0100)
committer
Steve Holme
<steve_holme@hotmail.com>
Mon, 26 Aug 2013 10:41:35 +0000
(11:41 +0100)
warning: 'variable' may be used uninitialized in this function
src/tool_urlglob.c
patch
|
blob
|
history
diff --git
a/src/tool_urlglob.c
b/src/tool_urlglob.c
index
ac13d68
..
1644077
100644
(file)
--- 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;