summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}