Enable -Wunused-variables
[folly.git] / folly / experimental / exception_tracer / test / ExceptionTracerBenchmark.cpp
index 35f536fc33994a3f71d42da45c3e06deec0dacb6..af39fc05ec69d1b83351b556c15de415d7656c67 100644 (file)
@@ -45,7 +45,7 @@ void loop(int iters) {
 BENCHMARK(ExceptionTracer, iters) {
   std::vector<std::thread> threads;
   constexpr size_t kNumThreads = 10;
-  threads.resize(10);
+  threads.resize(kNumThreads);
   for (auto& t : threads) {
     t = std::thread([iters]() { loop(iters); });
   }