diff --git a/tests/parser/ConnectionTests.cpp b/tests/parser/ConnectionTests.cpp index d06bacce6..bf36b4737 100644 --- a/tests/parser/ConnectionTests.cpp +++ b/tests/parser/ConnectionTests.cpp @@ -615,7 +615,6 @@ BOOST_AUTO_TEST_CASE(testReAndConnectionLength) { auto python = std::make_shared(); Opm::EclipseState state(deck); Opm::Schedule sched(deck, state, python); - const auto& units = deck.getActiveUnitSystem(); const auto& prod = sched.getWell("PROD", 0); const auto& connections = prod.getConnections();