diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-15 19:01:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-15 19:01:29 +0000 |
commit | 7e0ae0af5ed5cdda735dd5ae11112626f3aedcd4 (patch) | |
tree | 985820b8e4fb18b66c06784fbcf410eff2ffda30 /lib | |
parent | d551628883232c046b4fa89979d0ecc205492ec8 (diff) |
unused variables
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/getnameinfo.c | 4 | ||||
-rw-r--r-- | lib/libc/net/inet_net_ntop.c | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/net/getnameinfo.c b/lib/libc/net/getnameinfo.c index 62760e178da..8681137fd75 100644 --- a/lib/libc/net/getnameinfo.c +++ b/lib/libc/net/getnameinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getnameinfo.c,v 1.28 2004/06/07 21:11:23 marc Exp $ */ +/* $OpenBSD: getnameinfo.c,v 1.29 2004/09/15 19:01:28 deraadt Exp $ */ /* $KAME: getnameinfo.c,v 1.45 2000/09/25 22:43:56 itojun Exp $ */ /* @@ -110,7 +110,6 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) int family, i; const char *addr; u_int32_t v4a; - int h_error; char numserv[512]; char numaddr[512]; @@ -240,7 +239,6 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) _THREAD_PRIVATE_MUTEX_LOCK(serv_mutex); hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); _THREAD_PRIVATE_MUTEX_UNLOCK(serv_mutex); - h_error = h_errno; if (hp) { #if 0 diff --git a/lib/libc/net/inet_net_ntop.c b/lib/libc/net/inet_net_ntop.c index 18eea6bb6d2..2b7de0cec35 100644 --- a/lib/libc/net/inet_net_ntop.c +++ b/lib/libc/net/inet_net_ntop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet_net_ntop.c,v 1.3 2002/08/19 03:01:54 itojun Exp $ */ +/* $OpenBSD: inet_net_ntop.c,v 1.4 2004/09/15 19:01:28 deraadt Exp $ */ /* * Copyright (c) 1996 by Internet Software Consortium. @@ -21,7 +21,7 @@ #if 0 static const char rcsid[] = "$From: inet_net_ntop.c,v 8.2 1996/08/08 06:54:44 vixie Exp $"; #else -static const char rcsid[] = "$OpenBSD: inet_net_ntop.c,v 1.3 2002/08/19 03:01:54 itojun Exp $"; +static const char rcsid[] = "$OpenBSD: inet_net_ntop.c,v 1.4 2004/09/15 19:01:28 deraadt Exp $"; #endif #endif @@ -85,7 +85,6 @@ inet_net_ntop_ipv4(src, bits, dst, size) size_t size; { char *odst = dst; - char *t; u_int m; int b; char *ep; |