From 990ea7c44c936c9f05ef69f5f28733ca957c84da Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Mon, 20 Mar 2017 19:53:27 +0100 Subject: [PATCH] Remove unused variable warning for endElementIt. It was redefined and initialized in an inner scope. --- opm/autodiff/BlackoilModelEbos.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/opm/autodiff/BlackoilModelEbos.hpp b/opm/autodiff/BlackoilModelEbos.hpp index 31beeebf2..c6faf82cd 100644 --- a/opm/autodiff/BlackoilModelEbos.hpp +++ b/opm/autodiff/BlackoilModelEbos.hpp @@ -895,7 +895,6 @@ namespace Opm { Vector& B_idx = B[ idx ]; const int ebosPhaseIdx = flowPhaseToEbosPhaseIdx(idx); const int ebosCompIdx = flowPhaseToEbosCompIdx(idx); - const auto& elemEndIt = gridView.template end(); for (auto elemIt = gridView.template begin(); elemIt != elemEndIt;