From: Jim Meyering Date: Sat, 8 Oct 2016 15:39:18 +0000 (-0700) Subject: folly/io/async/HHWheelTimer.cpp: remove decl of unused variable (trivial) X-Git-Tag: v2016.10.10.00~1 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9f8538ee10e3f96fca029fdde18797878e3ebcff;p=folly.git 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 --- diff --git a/folly/io/async/HHWheelTimer.cpp b/folly/io/async/HHWheelTimer.cpp index ca372502..55bc8955 100644 --- 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);