Browse Source

shut up GCC, part 2

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 9 years ago
parent
commit
0839d5e8bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/inet/ntop.c

+ 1 - 1
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;