projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a3dae9
)
folly/io/async/HHWheelTimer.cpp: remove decl of unused variable (trivial)
author
Jim Meyering
<meyering@fb.com>
Sat, 8 Oct 2016 15:39:18 +0000
(08:39 -0700)
committer
Facebook Github Bot
<facebook-github-bot-bot@fb.com>
Sat, 8 Oct 2016 15:53:40 +0000
(08:53 -0700)
Summary:
In HHWheelTimer::scheduleTimeout, remove the declaration of the
unused variable, "prev".
Reviewed By: yfeldblum
Differential Revision:
D3987409
fbshipit-source-id:
3a9291bf104e6865d608adfb6118609faa0aea96
folly/io/async/HHWheelTimer.cpp
patch
|
blob
|
history
diff --git
a/folly/io/async/HHWheelTimer.cpp
b/folly/io/async/HHWheelTimer.cpp
index ca372502b481f6b18c2c68cb48189068febc0370..55bc89552a4b6c731188cd3f99802990191125ad 100644
(file)
--- a/
folly/io/async/HHWheelTimer.cpp
+++ b/
folly/io/async/HHWheelTimer.cpp
@@
-150,7
+150,6
@@
void HHWheelTimer::scheduleTimeout(Callback* callback,
callback->context_ = RequestContext::saveContext();
- uint64_t prev = count_;
count_++;
callback->setScheduled(this, timeout);