From 88ea9d9005270bee51b45f33891f5ba2a30fce3d Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Fri, 19 Nov 2021 19:54:05 +0000 Subject: [PATCH] lose some build warnings --- test/benchmark_setup_teardown_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/benchmark_setup_teardown_test.cc b/test/benchmark_setup_teardown_test.cc index f18c570d..efa34e15 100644 --- a/test/benchmark_setup_teardown_test.cc +++ b/test/benchmark_setup_teardown_test.cc @@ -80,7 +80,7 @@ int fixture_setup = 0; class FIXTURE_BECHMARK_NAME : public ::benchmark::Fixture { public: - void SetUp(const ::benchmark::State& state) BENCHMARK_OVERRIDE { + void SetUp(const ::benchmark::State&) BENCHMARK_OVERRIDE { fixture_interaction::fixture_setup++; } @@ -92,7 +92,7 @@ BENCHMARK_F(FIXTURE_BECHMARK_NAME, BM_WithFixture)(benchmark::State& st) { } } -static void DoSetupWithFixture(const benchmark::State& state) { +static void DoSetupWithFixture(const benchmark::State&) { fixture_interaction::setup++; } @@ -110,7 +110,7 @@ namespace repetitions { int setup = 0; } -static void DoSetupWithRepetitions(const benchmark::State& state) { +static void DoSetupWithRepetitions(const benchmark::State&) { repetitions::setup++; } static void BM_WithRep(benchmark::State& state) {