From: mickey Date: Mon, 17 Feb 1997 07:38:20 +0000 (+0000) Subject: kill unused variables w/ MINIROOTSIZE defined in config X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=967d7cc65fecfb90151f6ff5f1ea18db61c98677;p=openbsd kill unused variables w/ MINIROOTSIZE defined in config --- diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c index 8e9a2806ba1..64d3382ab18 100644 --- a/sys/vm/vm_swap.c +++ b/sys/vm/vm_swap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_swap.c,v 1.2 1996/03/03 17:45:38 niklas Exp $ */ +/* $OpenBSD: vm_swap.c,v 1.3 1997/02/17 07:38:20 mickey Exp $ */ /* $NetBSD: vm_swap.c,v 1.32 1996/02/05 01:54:09 christos Exp $ */ /* @@ -462,8 +462,10 @@ swfree(p, index) * root (sure beats rewriting standalone restor). */ if (vp == rootvp) { +#ifndef MINIROOTSIZE struct mount *mp; struct statfs *sp; +#endif long firstblk; int rootblks;