From d65c23205727fc2a7633f75bdc6e38e8b58d4b3b Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 19 Oct 2021 10:53:34 +0200 Subject: [PATCH] remove unused variables --- tests/parser/TuningTests.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/parser/TuningTests.cpp b/tests/parser/TuningTests.cpp index b0d4259b2..492f8e0e7 100644 --- a/tests/parser/TuningTests.cpp +++ b/tests/parser/TuningTests.cpp @@ -335,7 +335,6 @@ BOOST_AUTO_TEST_CASE(TuningTest) { { std::size_t timestep = 8; const auto& event = schedule[timestep].events(); - const auto& tuning = schedule[timestep].tuning(); BOOST_CHECK(event.hasEvent(ScheduleEvents::TUNING_CHANGE)); BOOST_CHECK_CLOSE(schedule[timestep].max_next_tstep(), 10*Metric::Time, diff); @@ -345,7 +344,6 @@ BOOST_AUTO_TEST_CASE(TuningTest) { { std::size_t timestep = 9; const auto& event = schedule[timestep].events(); - const auto& tuning = schedule[timestep].tuning(); BOOST_CHECK(event.hasEvent(ScheduleEvents::TUNING_CHANGE)); BOOST_CHECK_CLOSE(schedule[timestep].max_next_tstep(), 2*Metric::Time, diff);