Merge pull request #821 from akva2/janitoring

remove unused variables
This commit is contained in:
Joakim Hove
2019-06-17 18:55:12 +02:00
committed by GitHub
2 changed files with 1 additions and 5 deletions

View File

@@ -38,7 +38,6 @@ namespace {
constexpr ParserItem::itype INT = ParserItem::itype::INT;
constexpr ParserItem::itype STRING= ParserItem::itype::STRING;
constexpr ParserItem::itype RAW_STRING = ParserItem::itype::RAW_STRING;
constexpr ParserItem::itype DOUBLE = ParserItem::itype::DOUBLE;
@@ -960,9 +959,6 @@ BOOST_AUTO_TEST_CASE(ParserDoubleItemGetDimension) {
BOOST_CHECK_THROW( doubleItem.getDimension( 3 ) , std::out_of_range );
}
const static auto SINGLE = ParserItem::item_size::SINGLE;
const static auto ALL = ParserItem::item_size::ALL;
BOOST_AUTO_TEST_CASE(DefaultConstructor_NoParams_NoThrow) {
BOOST_CHECK_NO_THROW(ParserRecord record);
}

View File

@@ -757,7 +757,7 @@ BOOST_AUTO_TEST_CASE(CMODE_DEFAULT) {
BOOST_AUTO_TEST_CASE(WELL_CONTROLS) {
Opm::Well2 well("WELL", "GROUP", 0, 0, 0, 0, 1000, Opm::Phase::OIL, Opm::WellProducer::CMODE_UNDEFINED, Opm::WellCompletion::DEPTH, UnitSystem::newMETRIC());
Opm::SummaryState st;
const auto prod_controls = well.productionControls(st);
well.productionControls(st);
}