1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-07 00:58:40 +03:00

s3:smbd: fix warning in smbd_tevent_trace_callback() without profile support

metze
This commit is contained in:
Stefan Metzmacher 2012-06-22 12:10:00 +02:00
parent ad82c52db0
commit b40fa94360

View File

@ -3172,6 +3172,11 @@ static void smbd_tevent_trace_callback(enum tevent_trace_point point,
switch (point) {
case TEVENT_TRACE_BEFORE_WAIT:
/*
* This just removes compiler warning
* without profile support
*/
conn->smbd_idle_profstamp = 0;
START_PROFILE_STAMP(smbd_idle, conn->smbd_idle_profstamp);
break;
case TEVENT_TRACE_AFTER_WAIT: