Enable -Wunused-variables
[folly.git] / folly / concurrency / test / ConcurrentHashMapTest.cpp
index 4a1d23d16349196736ed570280c3c5a5b1c125db..cf283c4112bc1e46ee08bc79eb0c671a84e0c9a1 100644 (file)
@@ -294,7 +294,6 @@ TEST(ConcurrentHashMap, EraseStressTest) {
       int offset = (iters * t / num_threads);
       for (uint i = 0; i < iters / num_threads; i++) {
         unsigned long k = folly::hash::jenkins_rev_mix32((i + offset));
-        unsigned long val;
         auto res = m.insert(k, k).second;
         if (res) {
           res = m.erase(k);
@@ -357,7 +356,6 @@ TEST(ConcurrentHashMap, IterateStressTest) {
       int offset = (iters * t / num_threads);
       for (uint i = 0; i < iters / num_threads; i++) {
         unsigned long k = folly::hash::jenkins_rev_mix32((i + offset));
-        unsigned long val;
         auto res = m.insert(k, k).second;
         if (res) {
           res = m.erase(k);