r23891: fix compiler warning
authorStefan Metzmacher <metze@samba.org>
Mon, 16 Jul 2007 14:19:59 +0000 (14:19 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:39 +0000 (12:28 -0500)
metze
(This used to be commit 6dcbc0b6055998d77bd7bb6acfb622bc1423964b)

source3/profile/profile.c

index 76f6386c51a9873aa50c859991e95773d9f6e068..20748e8f22114f6422ec491cc4d329e28e35f7f2 100644 (file)
@@ -89,6 +89,8 @@ void set_profile_level(int level, struct server_id src)
 #endif /* WITH_PROFILE */
 }
 
+#ifdef WITH_PROFILE
+
 /****************************************************************************
 receive a set profile level message
 ****************************************************************************/
@@ -134,7 +136,6 @@ static void reqprofile_message(struct messaging_context *msg_ctx,
 /*******************************************************************
   open the profiling shared memory area
   ******************************************************************/
-#ifdef WITH_PROFILE
 
 #ifdef HAVE_CLOCK_GETTIME