aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2001-01-09 04:24:43 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2001-01-09 04:24:43 +0000
commitb7ef0b1281f6956c7fc55ad7fa913f943970e64e (patch)
treec920805608349eb42f85c6825fa228ff4f06aa45 /sys/miscfs
parentc9fce3556d3305790241d776e7a86762f5c60136 (diff)
Don't compile a dead variable declaration.
Notes
Notes: svn path=/head/; revision=70829
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/union/union_vnops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/miscfs/union/union_vnops.c b/sys/miscfs/union/union_vnops.c
index 05db0d5f0aad..e8e0b8bcb727 100644
--- a/sys/miscfs/union/union_vnops.c
+++ b/sys/miscfs/union/union_vnops.c
@@ -1797,7 +1797,9 @@ union_unlock(ap)
struct proc *a_p;
} */ *ap;
{
+#if 0
struct union_node *un = VTOUNION(ap->a_vp);
+#endif
int error;
KASSERT((un->un_uppervp == NULL || un->un_uppervp->v_usecount > 0), ("uppervp usecount is 0"));