diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2005-11-11 19:25:29 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2005-11-11 19:25:29 +0000 |
commit | 9c99a58191cc55e8ae10de632a264afa49eb0b32 (patch) | |
tree | a0187316ee69569e1a47db5fb7b6540712232476 /inet_ntop.c | |
parent | 46774e514db3eec6e818556ab37f911b7b9a6dde (diff) | |
download | c-ares-9c99a58191cc55e8ae10de632a264afa49eb0b32.tar.gz c-ares-9c99a58191cc55e8ae10de632a264afa49eb0b32.tar.bz2 c-ares-9c99a58191cc55e8ae10de632a264afa49eb0b32.zip |
Squelch gcc 4.x warning.
Diffstat (limited to 'inet_ntop.c')
-rw-r--r-- | inet_ntop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inet_ntop.c b/inet_ntop.c index 15488bf..60d91b9 100644 --- a/inet_ntop.c +++ b/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; |