From 9ab047883b340167617d630a70e1e723731aed1a Mon Sep 17 00:00:00 2001 From: perry Date: Mon, 21 Oct 1996 01:32:38 +0000 Subject: [PATCH] Fix unused variable -Wxxx failure when MINIROOTSIZE defined. --- 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 4cfca005107b..f66a145ae53f 100644 --- a/sys/vm/vm_swap.c +++ b/sys/vm/vm_swap.c @@ -1,4 +1,4 @@ -/* $NetBSD: vm_swap.c,v 1.34 1996/10/12 21:50:14 christos Exp $ */ +/* $NetBSD: vm_swap.c,v 1.35 1996/10/21 01:32:38 perry Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993 @@ -461,8 +461,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;