From 578ca0a725c17a3e5229f13dd64c6c2d00522cb7 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Mon, 7 Sep 2020 16:42:01 +0200 Subject: [PATCH] Fixed unused variable warning. --- opm/simulators/wells/RateConverter.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/opm/simulators/wells/RateConverter.hpp b/opm/simulators/wells/RateConverter.hpp index 9d54b7861..744e84b36 100644 --- a/opm/simulators/wells/RateConverter.hpp +++ b/opm/simulators/wells/RateConverter.hpp @@ -435,7 +435,6 @@ namespace Opm { // create map from cell to region // and set all attributes to zero - const auto& grid = simulator.vanguard().grid(); for (const auto& reg : rmap_.activeRegions()) { auto& ra = attr_.attributes(reg); ra.pressure = 0.0;