mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3457 from akva2/janitoring
mark variables [[maybe_unused]]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user