mirror of
https://github.com/google/benchmark.git
synced 2025-01-31 06:10:14 +08:00
lose some build warnings
This commit is contained in:
parent
91ed7eea68
commit
88ea9d9005
@ -80,7 +80,7 @@ int fixture_setup = 0;
|
|||||||
|
|
||||||
class FIXTURE_BECHMARK_NAME : public ::benchmark::Fixture {
|
class FIXTURE_BECHMARK_NAME : public ::benchmark::Fixture {
|
||||||
public:
|
public:
|
||||||
void SetUp(const ::benchmark::State& state) BENCHMARK_OVERRIDE {
|
void SetUp(const ::benchmark::State&) BENCHMARK_OVERRIDE {
|
||||||
fixture_interaction::fixture_setup++;
|
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++;
|
fixture_interaction::setup++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ namespace repetitions {
|
|||||||
int setup = 0;
|
int setup = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void DoSetupWithRepetitions(const benchmark::State& state) {
|
static void DoSetupWithRepetitions(const benchmark::State&) {
|
||||||
repetitions::setup++;
|
repetitions::setup++;
|
||||||
}
|
}
|
||||||
static void BM_WithRep(benchmark::State& state) {
|
static void BM_WithRep(benchmark::State& state) {
|
||||||
|
Loading…
Reference in New Issue
Block a user