Remove unused variable

This commit is contained in:
Joakim Hove 2021-08-23 22:47:35 +02:00
parent 5a721b8cd2
commit 94d12e1230

View File

@ -242,7 +242,6 @@ void WellState::init(const std::vector<double>& cellPressures,
// Initialize perfphaserates_ to well
// rates divided by the number of perforations.
const auto& ecl_well = wells_ecl[w];
const auto& wname = ecl_well.name();
auto& ws = this->well(w);
auto& perf_data = ws.perf_data;
const int num_perf_this_well = perf_data.size();