summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-10-06 19:37:28 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-10-06 19:37:28 +0000
commit03c194e0761d1d4c38b4e34119a8a30ff721324a (patch)
tree65be66d6752a8e6f43f1adfd775c46756811b3da /sys/ufs
parent5b951e4a79888a776011e78b6967c23a38ff1ef9 (diff)
warning: unused variable "error"
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_vnops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index 12245ddece3..fd5cb7961f4 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.11 1997/10/06 15:27:40 csapuntz Exp $ */
+/* $OpenBSD: ufs_vnops.c,v 1.12 1997/10/06 19:37:27 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: