Squelch gcc 4.x warning.

This commit is contained in:
Gisle Vanem 2005-11-11 19:25:29 +00:00
parent ce40b8d531
commit 6bcca3eca9
1 changed files with 1 additions and 1 deletions

View File

@ -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;