diff --git a/tests/registry.cpp b/tests/registry.cpp index ff84cacf..9f723272 100644 --- a/tests/registry.cpp +++ b/tests/registry.cpp @@ -33,7 +33,7 @@ TEST_CASE("apply_all" spdlog::register_logger(logger2); int counter = 0; - spdlog::apply_all([&counter](std::shared_ptr l) { counter++; }); + spdlog::apply_all([&counter](std::shared_ptr ) { counter++; }); REQUIRE(counter == 2); counter = 0;