diff --git a/library/testing/TestSDKInteractorDocumentation.cxx b/library/testing/TestSDKInteractorDocumentation.cxx index 6d91be923e..64d464ff3b 100644 --- a/library/testing/TestSDKInteractorDocumentation.cxx +++ b/library/testing/TestSDKInteractorDocumentation.cxx @@ -31,10 +31,10 @@ int TestSDKInteractorDocumentation(int argc, char* argv[]) { // check exceptions for invalid args test.expect( - "Initial invalid group", [&]() { inter.getBindsForGroup("Invalid"); }); + "Initial invalid group", [&]() { std::ignore = inter.getBindsForGroup("Invalid"); }); test.expect("Initial invalid bind", [&]() { - inter.getBindingDocumentation({ mod_t::ANY, "Invalid" }); + std::ignore = inter.getBindingDocumentation({ mod_t::ANY, "Invalid" }); }); } @@ -53,10 +53,10 @@ int TestSDKInteractorDocumentation(int argc, char* argv[]) test("Empty binds size", inter.getBinds().size() == 0); // check exceptions for invalid args test.expect( - "Empty group", [&]() { inter.getBindsForGroup("Camera"); }); + "Empty group", [&]() { std::ignore = inter.getBindsForGroup("Camera"); }); test.expect("Empty bind", [&]() { - inter.getBindingDocumentation({ mod_t::ANY, "5" }); + std::ignore = inter.getBindingDocumentation({ mod_t::ANY, "5" }); }); }