THRIFT-3246 Reduce the number of trivial warnings in Windows C++ CMake builds
Client: cpp
Patch: Ben Craig <bencraig@apache.org>
This closes #553
diff --git a/lib/cpp/test/concurrency/ThreadFactoryTests.h b/lib/cpp/test/concurrency/ThreadFactoryTests.h
index d7431a8..635c8a2 100644
--- a/lib/cpp/test/concurrency/ThreadFactoryTests.h
+++ b/lib/cpp/test/concurrency/ThreadFactoryTests.h
@@ -220,7 +220,7 @@
try {
monitor.wait(100);
- } catch (TimedOutException& e) {
+ } catch (TimedOutException&) {
}
if (state == SynchStartTask::STARTED) {
@@ -257,7 +257,7 @@
Synchronized s(monitor);
try {
monitor.wait(timeout);
- } catch (TimedOutException& e) {
+ } catch (TimedOutException&) {
}
}
}