diff options
Diffstat (limited to 'src/mongo/util/options_parser/options_parser_test.cpp')
-rw-r--r-- | src/mongo/util/options_parser/options_parser_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/options_parser/options_parser_test.cpp b/src/mongo/util/options_parser/options_parser_test.cpp index c6cdebdd291..bf2548af07b 100644 --- a/src/mongo/util/options_parser/options_parser_test.cpp +++ b/src/mongo/util/options_parser/options_parser_test.cpp @@ -2323,7 +2323,7 @@ TEST(LegacyInterface, BadType) { try { port = environment["port"].as<std::string>(); FAIL("Expected exception trying to convert int to type string"); - } catch (std::exception& e) { + } catch (std::exception&) { } } |