diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-22 12:10:00 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-22 12:56:47 +0200 |
commit | b40fa9436010a434ba7deb98ec9ed24b4900309a (patch) | |
tree | 9426cd72deb6b8180afeb4dcfb4757969676130c | |
parent | ad82c52db0a057ddb1c463f136d7ff0260d780d0 (diff) | |
download | samba-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.c | 5 |
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: |