If i is going to be used in the loop unconditionally the declaration

has to be unconditional as well.

Conical head covering to:	kib
This commit is contained in:
Doug Barton 2010-06-29 01:04:24 +00:00
parent 13cedde2cb
commit d748aee076

View File

@ -907,9 +907,7 @@ shminit()
static int
shmunload()
{
#ifdef MAC
int i;
#endif
if (shm_nused > 0)
return (EBUSY);