summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-11-06 17:23:02 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-11-06 17:23:02 +0000
commit6098d434ef0f60c9c49c0c16244c45b9825d65a9 (patch)
treecfc442dc93211b723a167fa4bb058d6a235d4385
parent0969cfe5aa9f2260000fb53b932592dbd4af576f (diff)
fix warning about unused variable
-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 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: