summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/rcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/rcmd.c')
-rw-r--r--lib/libc/net/rcmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c
index fea3887..fcdd639 100644
--- a/lib/libc/net/rcmd.c
+++ b/lib/libc/net/rcmd.c
@@ -344,7 +344,7 @@ int
rresvport_af(alport, family)
int *alport, family;
{
- int i, s, len, err;
+ int s;
struct sockaddr_storage ss;
u_short *sport;
@@ -609,7 +609,6 @@ __ivaliduser_sa(hostf, raddr, salen, luser, ruser)
char hname[MAXHOSTNAMELEN];
/* Presumed guilty until proven innocent. */
int userok = 0, hostok = 0;
- int h_error;
#ifdef YP
char *ypdomain;
OpenPOWER on IntegriCloud