From 65586c226c3d7d6ba377174426b407a5a2f8879e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 11 Jul 2006 18:03:25 +0000 Subject: r16947: Fix warning with profile separator when profiles not being used. Jeremy. (This used to be commit 441c289fd21d00398fb7c4c7c0338b03129a7545) --- source3/utils/status_profile.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/utils/status_profile.c b/source3/utils/status_profile.c index fc5b5e10ff..9de89d563f 100644 --- a/source3/utils/status_profile.c +++ b/source3/utils/status_profile.c @@ -21,6 +21,7 @@ #include "includes.h" +#ifdef WITH_PROFILE static void profile_separator(const char * title) { char line[79 + 1]; @@ -35,6 +36,7 @@ static void profile_separator(const char * title) line[sizeof(line) - 1] = '\0'; d_printf("%s\n", line); } +#endif /******************************************************************* dump the elements of the profile structure -- cgit