diff options
author | Jeremy Allison <jra@samba.org> | 2006-07-11 18:03:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:14 -0500 |
commit | 65586c226c3d7d6ba377174426b407a5a2f8879e (patch) | |
tree | b41362add1aaca3ff7b87231f92cac6fd9628411 | |
parent | fbdcf2663b56007a438ac4f0d8d82436b1bfe688 (diff) | |
download | samba-65586c226c3d7d6ba377174426b407a5a2f8879e.tar.gz samba-65586c226c3d7d6ba377174426b407a5a2f8879e.tar.bz2 samba-65586c226c3d7d6ba377174426b407a5a2f8879e.zip |
r16947: Fix warning with profile separator when profiles not
being used.
Jeremy.
(This used to be commit 441c289fd21d00398fb7c4c7c0338b03129a7545)
-rw-r--r-- | source3/utils/status_profile.c | 2 |
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 |