More compile warnings.
authorTim Potter <tpot@samba.org>
Thu, 22 Aug 2002 17:46:25 +0000 (17:46 +0000)
committerTim Potter <tpot@samba.org>
Thu, 22 Aug 2002 17:46:25 +0000 (17:46 +0000)
(This used to be commit 8303ff62609bd57af457bc1f1527c58657225fdf)

source3/profile/profile.c

index bbcfc780e8b00028aa43a72bcb29a83924fd0e85..689f67da997d558208da04afabe3011440c535d5 100644 (file)
 #define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
 #endif /* WITH_PROFILE */
 
+#ifdef WITH_PROFILE
 static int shm_id;
 static BOOL read_only;
+#endif
 
 struct profile_header *profile_h;
 struct profile_stats *profile_p;