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:
ce40b8d
)
Squelch gcc 4.x warning.
author
Gisle Vanem
<gvanem@broadpark.no>
Fri, 11 Nov 2005 19:25:29 +0000
(19:25 +0000)
committer
Gisle Vanem
<gvanem@broadpark.no>
Fri, 11 Nov 2005 19:25:29 +0000
(19:25 +0000)
ares/inet_ntop.c
patch
|
blob
|
history
diff --git
a/ares/inet_ntop.c
b/ares/inet_ntop.c
index
15488bf
..
60d91b9
100644
(file)
--- a/
ares/inet_ntop.c
+++ b/
ares/inet_ntop.c
@@
-127,7
+127,7
@@
inet_ntop6(const unsigned char *src, char *dst, size_t size)
* to use pointer overlays. All the world's not a VAX.
*/
char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp;
- struct { int base, len; } best
, cur
;
+ struct { int base, len; } best
= { 0,0 }, cur = { 0,0 }
;
unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ];
int i;