From 967d7cc65fecfb90151f6ff5f1ea18db61c98677 Mon Sep 17 00:00:00 2001 From: mickey Date: Mon, 17 Feb 1997 07:38:20 +0000 Subject: [PATCH] kill unused variables w/ MINIROOTSIZE defined in config --- sys/vm/vm_swap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.20.1