summaryrefslogtreecommitdiff
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-12-25 16:35:08 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-12-25 16:35:08 +0000
commit5ceb7d5c067f6a10d018b2cb579f13da91da653e (patch)
tree694ee0ff91965e5d64175ba110a4977b21db6d67 /usr.sbin/amd
parent69e9fdff3b5633ced6e5c5d4dfdc5f2a51208c96 (diff)
Regenerate with -current rpcgen, eliminating "unused variable 'i'"
warning. ok millert@
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/rpcx/nfs_prot_xdr.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/amd/rpcx/nfs_prot_xdr.c b/usr.sbin/amd/rpcx/nfs_prot_xdr.c
index 2fdf66b52dd..ea5cfd10920 100644
--- a/usr.sbin/amd/rpcx/nfs_prot_xdr.c
+++ b/usr.sbin/amd/rpcx/nfs_prot_xdr.c
@@ -8,7 +8,6 @@
bool_t
xdr_nfs_fh(XDR *xdrs, nfs_fh *objp)
{
- int i;
if (!xdr_opaque(xdrs, objp->data, NFS_FHSIZE))
@@ -113,6 +112,8 @@ xdr_attrstat(XDR *xdrs, attrstat *objp)
if (!xdr_fattr(xdrs, &objp->attrstat_u.attributes))
return (FALSE);
break;
+ default:
+ break;
}
return (TRUE);
}
@@ -164,6 +165,8 @@ xdr_diropres(XDR *xdrs, diropres *objp)
if (!xdr_diropokres(xdrs, &objp->diropres_u.diropres))
return (FALSE);
break;
+ default:
+ break;
}
return (TRUE);
}
@@ -179,6 +182,8 @@ xdr_readlinkres(XDR *xdrs, readlinkres *objp)
if (!xdr_nfspath(xdrs, &objp->readlinkres_u.data))
return (FALSE);
break;
+ default:
+ break;
}
return (TRUE);
}
@@ -224,6 +229,8 @@ xdr_readres(XDR *xdrs, readres *objp)
if (!xdr_readokres(xdrs, &objp->readres_u.reply))
return (FALSE);
break;
+ default:
+ break;
}
return (TRUE);
}
@@ -360,6 +367,8 @@ xdr_readdirres(XDR *xdrs, readdirres *objp)
if (!xdr_dirlist(xdrs, &objp->readdirres_u.reply))
return (FALSE);
break;
+ default:
+ break;
}
return (TRUE);
}
@@ -393,6 +402,8 @@ xdr_statfsres(XDR *xdrs, statfsres *objp)
if (!xdr_statfsokres(xdrs, &objp->statfsres_u.reply))
return (FALSE);
break;
+ default:
+ break;
}
return (TRUE);
}