svn commit: r209582 - head/sys/kern

Doug Barton dougb at FreeBSD.org
Tue Jun 29 01:04:24 UTC 2010


Author: dougb
Date: Tue Jun 29 01:04:24 2010
New Revision: 209582
URL: http://svn.freebsd.org/changeset/base/209582

Log:
  If i is going to be used in the loop unconditionally the declaration
  has to be unconditional as well.
  
  Conical head covering to:	kib

Modified:
  head/sys/kern/sysv_shm.c

Modified: head/sys/kern/sysv_shm.c
==============================================================================
--- head/sys/kern/sysv_shm.c	Mon Jun 28 18:17:21 2010	(r209581)
+++ head/sys/kern/sysv_shm.c	Tue Jun 29 01:04:24 2010	(r209582)
@@ -907,9 +907,7 @@ shminit()
 static int
 shmunload()
 {
-#ifdef MAC
 	int i;	
-#endif
 
 	if (shm_nused > 0)
 		return (EBUSY);


More information about the svn-src-all mailing list