summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2015-01-01 19:35:06 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-01 13:34:49 -0600
commit96d2cac46e30a2c05e863f569f7710baed66b703 (patch)
tree1d1da75c600682a73779bc546e20d3abc8e622cd /libc
parentfb1752b60469d959e1a469ba1ca85b754514d6e2 (diff)
shut up GCC
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'libc')
-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 0181a415c..0fd0890eb 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, cur;
+ struct { int base, len; } best = { 0, 0 }, cur;
u_int words[8];
int i;