summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mountd
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-04-09 14:59:10 +0000
committerstefanf <stefanf@FreeBSD.org>2005-04-09 14:59:10 +0000
commitce3085bbfbefdc248456fec1c710f8d1baea0d8e (patch)
treefa6d3cbe8713f6b25b8d8c0082306ab11bdae241 /usr.sbin/mountd
parent60b910d7c27c4544e9c4525d0092d04cfdaf384e (diff)
downloadFreeBSD-src-ce3085bbfbefdc248456fec1c710f8d1baea0d8e.zip
FreeBSD-src-ce3085bbfbefdc248456fec1c710f8d1baea0d8e.tar.gz
Remove unused variables.
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r--usr.sbin/mountd/mountd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c
index 8b03e13..54dfd69 100644
--- a/usr.sbin/mountd/mountd.c
+++ b/usr.sbin/mountd/mountd.c
@@ -568,7 +568,6 @@ mntsrv(rqstp, transp)
struct fhreturn fhr;
struct stat stb;
struct statfs fsb;
- struct addrinfo *ai;
char host[NI_MAXHOST], numerichost[NI_MAXHOST];
int lookup_failed = 1;
struct sockaddr *saddr;
@@ -595,7 +594,6 @@ mntsrv(rqstp, transp)
NULL, 0, 0);
getnameinfo(saddr, saddr->sa_len, numerichost,
sizeof numerichost, NULL, 0, NI_NUMERICHOST);
- ai = NULL;
switch (rqstp->rq_proc) {
case NULLPROC:
if (!svc_sendreply(transp, (xdrproc_t)xdr_void, NULL))
OpenPOWER on IntegriCloud