소스 검색

shut up GCC, part 2

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 9 년 전
부모
커밋
0839d5e8bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;