summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-22 12:10:00 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-22 12:56:47 +0200
commitb40fa9436010a434ba7deb98ec9ed24b4900309a (patch)
tree9426cd72deb6b8180afeb4dcfb4757969676130c
parentad82c52db0a057ddb1c463f136d7ff0260d780d0 (diff)
downloadsamba-b40fa9436010a434ba7deb98ec9ed24b4900309a.tar.gz
samba-b40fa9436010a434ba7deb98ec9ed24b4900309a.tar.bz2
samba-b40fa9436010a434ba7deb98ec9ed24b4900309a.zip
s3:smbd: fix warning in smbd_tevent_trace_callback() without profile support
metze
-rw-r--r--source3/smbd/process.c5
1 files changed, 5 insertions, 0 deletions
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: