1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

always include profile support so you do not need a different binary of

smbstatus to dump profile stats.
(This used to be commit fc048955b8)
This commit is contained in:
Herb Lewis 2001-09-05 18:01:48 +00:00
parent 283b15bcd7
commit dff3c815e2

View File

@ -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
}