Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 01:04:24 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209582 - head/sys/kern
Message-ID:  <201006290104.o5T14OH9069965@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006290104.o5T14OH9069965>