Merge pull request #3317 from joakim-hove/fix-unused

Remove unused variable
This commit is contained in:
Bård Skaflestad 2021-05-28 14:14:27 +02:00 committed by GitHub
commit d3437d77b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1917,7 +1917,6 @@ namespace Opm
// for top segment, the well control equation will be used.
EvalWell pressure_equation = getSegmentPressure(seg);
auto top_segment_index = well_state.topSegmentIndex(this->index_of_well_);
// we need to handle the pressure difference between the two segments
// we only consider the hydrostatic pressure loss first