From d8580716defb9d6e19c1d1022c720de8b5ef13ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Tue, 12 Jun 2012 11:16:26 +0200 Subject: [PATCH] Removed some unused variables. --- opm/core/simulator/SimulatorTwophase.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/opm/core/simulator/SimulatorTwophase.cpp b/opm/core/simulator/SimulatorTwophase.cpp index 804e4a5f..52e31d4c 100644 --- a/opm/core/simulator/SimulatorTwophase.cpp +++ b/opm/core/simulator/SimulatorTwophase.cpp @@ -293,13 +293,10 @@ namespace Opm Opm::WellReport wellreport; std::vector fractional_flows; std::vector well_resflows_phase; - int num_wells = 0; if (wells_) { - num_wells = wells_->number_of_wells; well_resflows_phase.resize((wells_->number_of_phases)*(wells_->number_of_wells), 0.0); wellreport.push(props_, *wells_, state.saturation(), 0.0, well_state.bhp(), well_state.perfRates()); } - const int num_cells = grid_.number_of_cells; for (; !timer.done(); ++timer) { // Report timestep and (optionally) write state to disk. timer.report(std::cout);