Explorar el Código

shut up GCC

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser hace 11 años
padre
commit
96d2cac46e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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, cur;
+	struct { int base, len; } best = { 0, 0 }, cur;
 	u_int words[8];
 	int i;