summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-16 14:19:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:39 -0500
commit0f0e847e39de2f4084127f782261ad290ba042c7 (patch)
tree3197f49f9cfb6ef46e2c790e6cadf96bf78b2a8d
parent809c9d4d3136cc46dc228107918ca19d5a008a0a (diff)
downloadsamba-0f0e847e39de2f4084127f782261ad290ba042c7.tar.gz
samba-0f0e847e39de2f4084127f782261ad290ba042c7.tar.bz2
samba-0f0e847e39de2f4084127f782261ad290ba042c7.zip
r23891: fix compiler warning
metze (This used to be commit 6dcbc0b6055998d77bd7bb6acfb622bc1423964b)
-rw-r--r--source3/profile/profile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index 76f6386c51..20748e8f22 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -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