From ebed8715b65d342ce6fcff454c3ed50e4d4cd44d Mon Sep 17 00:00:00 2001 From: dougb Date: Tue, 29 Jun 2010 01:04:24 +0000 Subject: If i is going to be used in the loop unconditionally the declaration has to be unconditional as well. Conical head covering to: kib --- sys/kern/sysv_shm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/kern') diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c index e760a78..fd09913 100644 --- a/sys/kern/sysv_shm.c +++ b/sys/kern/sysv_shm.c @@ -907,9 +907,7 @@ shminit() static int shmunload() { -#ifdef MAC int i; -#endif if (shm_nused > 0) return (EBUSY); -- cgit v1.1