summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/union
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
committerarchie <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
commit60d13c7a9dd18f720483338ebef03609492ca98c (patch)
tree5709d8cdab99e3c1cb9ae7c2117627c1031fdf39 /sys/miscfs/union
parent2f8d013d96c256b3a48e227aab238e53eb9304cf (diff)
downloadFreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.zip
FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.tar.gz
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
Diffstat (limited to 'sys/miscfs/union')
-rw-r--r--sys/miscfs/union/union_subr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/miscfs/union/union_subr.c b/sys/miscfs/union/union_subr.c
index 4e7089e..f1db32e 100644
--- a/sys/miscfs/union/union_subr.c
+++ b/sys/miscfs/union/union_subr.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.20 (Berkeley) 5/20/95
- * $Id: union_subr.c,v 1.33 1998/11/15 15:33:51 bde Exp $
+ * $Id: union_subr.c,v 1.34 1998/12/07 02:47:46 eivind Exp $
*/
#include <sys/param.h>
@@ -310,7 +310,6 @@ union_allocvp(vpp, mp, undvp, dvp, cnp, uppervp, lowervp, docache)
int hash;
int vflag;
int try;
- int klocked;
if (uppervp == NULLVP && lowervp == NULLVP)
panic("union: unidentifiable allocation");
OpenPOWER on IntegriCloud