summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/status_profile.c2
1 files changed, 2 insertions, 0 deletions
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