From c23a0012523bc3e12c9323f398dcc433c4f19f05 Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Tue, 7 Sep 2021 17:54:23 +0100 Subject: [PATCH] Remove unused parameter from lambda. (#1223) Fixes #1222 --- test/reporter_output_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/reporter_output_test.cc b/test/reporter_output_test.cc index 7c7d9945..2b6e6543 100644 --- a/test/reporter_output_test.cc +++ b/test/reporter_output_test.cc @@ -943,7 +943,7 @@ ADD_CASES( // ------------- Testing relative standard deviation statistics ------------ // // ========================================================================= // -const auto UserPercentStatistics = [](const std::vector& v) { +const auto UserPercentStatistics = [](const std::vector&) { return 1. / 100.; }; void BM_UserPercentStats(benchmark::State& state) {