git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad82c52
)
s3:smbd: fix warning in smbd_tevent_trace_callback() without profile support
author
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Jun 2012 10:10:00 +0000
(12:10 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Jun 2012 10:56:47 +0000
(12:56 +0200)
metze
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index 465f429747098633a99860e6dccea10d05838ed7..77c4804a38af0e4c1772370e8f8a478f19ea9aad 100644
(file)
--- 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: