From dff3c815e2837ee0421298e3da7698bd3e01e0a6 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Wed, 5 Sep 2001 18:01:48 +0000 Subject: always include profile support so you do not need a different binary of smbstatus to dump profile stats. (This used to be commit fc048955b8af05779992bc111f9bd690b8a8faf2) --- source3/utils/status.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3') diff --git a/source3/utils/status.c b/source3/utils/status.c index 1137898e34..77e76a34e8 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -155,10 +155,6 @@ static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid, ******************************************************************/ static int profile_dump(void) { -#ifndef WITH_PROFILE - fprintf(stderr,"ERROR: not compiled with profile support\n"); - return -1; -#else if (!profile_setup(True)) { fprintf(stderr,"Failed to initialise profile memory\n"); return -1; @@ -497,7 +493,6 @@ static int profile_dump(void) printf("election_time: %u\n", profile_p->election_time); return 0; -#endif } -- cgit