Author: jra Date: 2006-07-11 18:03:00 +0000 (Tue, 11 Jul 2006) New Revision: 16946
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16946 Log: Fix warning with profile separator when profiles not being used. Jeremy. Modified: trunk/source/utils/status_profile.c Changeset: Modified: trunk/source/utils/status_profile.c =================================================================== --- trunk/source/utils/status_profile.c 2006-07-11 18:01:26 UTC (rev 16945) +++ trunk/source/utils/status_profile.c 2006-07-11 18:03:00 UTC (rev 16946) @@ -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 @@ line[sizeof(line) - 1] = '\0'; d_printf("%s\n", line); } +#endif /******************************************************************* dump the elements of the profile structure