Commit 9f8538ee authored by Jim Meyering's avatar Jim Meyering Committed by Facebook Github Bot

folly/io/async/HHWheelTimer.cpp: remove decl of unused variable (trivial)

Summary:
In HHWheelTimer::scheduleTimeout, remove the declaration of the
unused variable, "prev".

Reviewed By: yfeldblum

Differential Revision: D3987409

fbshipit-source-id: 3a9291bf104e6865d608adfb6118609faa0aea96
parent 0a3dae9d
...@@ -150,7 +150,6 @@ void HHWheelTimer::scheduleTimeout(Callback* callback, ...@@ -150,7 +150,6 @@ void HHWheelTimer::scheduleTimeout(Callback* callback,
callback->context_ = RequestContext::saveContext(); callback->context_ = RequestContext::saveContext();
uint64_t prev = count_;
count_++; count_++;
callback->setScheduled(this, timeout); callback->setScheduled(this, timeout);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment