summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2015-01-01 20:43:00 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-01 13:50:03 -0600
commit0839d5e8bf55b21518f96772b89201da96ebef8c (patch)
tree5ffb34a1a365657030703471d300ee7e33f0812f /libc/inet
parent9d429ee21c755316bf01e589c1106cc64bb0f3b4 (diff)
shut up GCC, part 2
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/ntop.c2
1 files changed, 1 insertions, 1 deletions
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;