From b40fa9436010a434ba7deb98ec9ed24b4900309a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jun 2012 12:10:00 +0200 Subject: s3:smbd: fix warning in smbd_tevent_trace_callback() without profile support metze --- source3/smbd/process.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/smbd') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 465f429747..77c4804a38 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -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: -- cgit