fix compiler warnings from gcc-4.9 + -Wunused-variable
authorNathan Bronson <ngbronson@fb.com>
Fri, 2 Oct 2015 01:39:47 +0000 (18:39 -0700)
committerfacebook-github-bot-5 <folly-bot@fb.com>
Fri, 2 Oct 2015 15:56:57 +0000 (08:56 -0700)
commitb05969e4b4474cadf1cb1f8ebc37567cc63c9b88
tree8575bf059656f61af6a7a7d02396c968ca237dbe
parent17b973baa8c4a5fc9f80807b2ddfe874c7cc4bb0
fix compiler warnings from gcc-4.9 + -Wunused-variable

Summary: This diff fixes the compiler warnings emitted by gcc-4.9's
stricter -Wsigned-comparison check, as well as those revealed by
-Wunused-variable.

Reviewed By: @meyering, @yfeldblum

Differential Revision: D2494514
32 files changed:
folly/Benchmark.cpp
folly/experimental/Bits.h
folly/experimental/EventCount.h
folly/experimental/fibers/AddTasks-inl.h
folly/experimental/fibers/Fiber.cpp
folly/experimental/fibers/WhenN-inl.h
folly/experimental/fibers/test/FibersTest.cpp
folly/futures/test/CollectTest.cpp
folly/io/async/AsyncPipe.cpp
folly/io/async/AsyncSSLSocket.cpp
folly/io/async/test/AsyncSSLSocketTest.cpp
folly/io/async/test/HHWheelTimerTest.cpp
folly/io/test/IOBufCursorTest.cpp
folly/io/test/IOBufQueueTest.cpp
folly/io/test/IOBufTest.cpp
folly/test/AtomicHashMapTest.cpp
folly/test/ConvTest.cpp
folly/test/DeterministicSchedule.cpp
folly/test/DynamicTest.cpp
folly/test/FBStringTest.cpp
folly/test/FileTest.cpp
folly/test/ForeachTest.cpp
folly/test/FormatTest.cpp
folly/test/IPAddressTest.cpp
folly/test/OptionalTest.cpp
folly/test/SharedMutexTest.cpp
folly/test/SingletonTest.cpp
folly/test/SubprocessTest.cpp
folly/test/SynchronizedTestLib-inl.h
folly/test/TimeoutQueueTest.cpp
folly/test/TimeseriesHistogramTest.cpp
folly/test/VarintTest.cpp