From 0839d5e8bf55b21518f96772b89201da96ebef8c Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Thu, 1 Jan 2015 20:43:00 +0000 Subject: shut up GCC, part 2 Signed-off-by: Thorsten Glaser --- libc/inet/ntop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c index 0fd0890eb..30dde6f9c 100644 --- a/libc/inet/ntop.c +++ b/libc/inet/ntop.c @@ -105,7 +105,7 @@ inet_ntop6(const u_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 = { 0, 0 }, cur; + struct { int base, len; } best = { 0, 0 }, cur = { 0, 0 }; u_int words[8]; int i; -- cgit v1.2.3