Merge pull request #2572 from bska/prune-unused

Remove Unused 'currentControl' Variable
This commit is contained in:
Atgeirr Flø Rasmussen 2020-04-28 08:09:17 +02:00 committed by GitHub
commit 8b77d68d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2068,7 +2068,6 @@ namespace Opm {
const auto& well_state = well_state_;
const auto& controls = group.injectionControls(Phase::GAS, summaryState);
const Group::InjectionCMode& currentControl = well_state.currentInjectionGroupControl(Phase::GAS, group.name());
const auto& gconsale = schedule().gConSale(reportStepIdx).get(group.name(), summaryState);
double sales_rate = 0.0;