From 1a8fcd9d496274a4e0b90343b41f198b43d35e0b Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Sat, 8 Feb 2020 12:51:39 +0100 Subject: [PATCH] Eliminate some warnings in benchmarks --- benchmarks/BM_filterModulation.cpp | 2 +- benchmarks/BM_filterStereoMono.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/BM_filterModulation.cpp b/benchmarks/BM_filterModulation.cpp index 71732651..9f4dbeac 100644 --- a/benchmarks/BM_filterModulation.cpp +++ b/benchmarks/BM_filterModulation.cpp @@ -19,7 +19,7 @@ constexpr float sampleRate { 48000.0f }; class FilterFixture : public benchmark::Fixture { public: - void SetUp(const ::benchmark::State& state) { + void SetUp(const ::benchmark::State&) { input = std::vector(blockSize); output = std::vector(blockSize); cutoff = std::vector(blockSize); diff --git a/benchmarks/BM_filterStereoMono.cpp b/benchmarks/BM_filterStereoMono.cpp index b4243297..29e5832b 100644 --- a/benchmarks/BM_filterStereoMono.cpp +++ b/benchmarks/BM_filterStereoMono.cpp @@ -19,7 +19,7 @@ constexpr float sampleRate { 48000.0f }; class FilterFixture : public benchmark::Fixture { public: - void SetUp(const ::benchmark::State& state) { + void SetUp(const ::benchmark::State&) { inputLeft = std::vector(blockSize); inputRight = std::vector(blockSize); outputLeft = std::vector(blockSize);