Merge pull request #3457 from akva2/janitoring

mark variables [[maybe_unused]]
This commit is contained in:
Joakim Hove
2021-08-07 16:36:03 +02:00
committed by GitHub
7 changed files with 14 additions and 14 deletions

View File

@@ -64,7 +64,7 @@ void WellState::base_init(const std::vector<double>& cellPressures,
// Setup wellname -> well index mapping.
const int num_perf_this_well = well_perf_data[w].size();
std::string name = well.name();
assert( name.size() > 0 );
assert( !name.empty() );
mapentry_t& wellMapEntry = wellMap_[name];
wellMapEntry[ 0 ] = w;
wellMapEntry[ 1 ] = connpos;