From 6098d434ef0f60c9c49c0c16244c45b9825d65a9 Mon Sep 17 00:00:00 2001 From: kstailey Date: Thu, 6 Nov 1997 17:23:02 +0000 Subject: fix warning about unused variable --- sys/ufs/ufs/ufs_vnops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 6ece4431f78..027cc187d5c 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_vnops.c,v 1.14 1997/11/06 05:59:29 csapuntz Exp $ */ +/* $OpenBSD: ufs_vnops.c,v 1.15 1997/11/06 17:23:01 kstailey Exp $ */ /* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */ /* @@ -238,7 +238,9 @@ ufs_access(v) */ if (mode & VWRITE) { switch (vp->v_type) { +#ifdef QUOTA int error; +#endif case VDIR: case VLNK: case VREG: -- cgit v1.2.3