mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Remove unused variable warning for endElementIt.
It was redefined and initialized in an inner scope.
This commit is contained in:
parent
ad1fe8fac0
commit
990ea7c44c
@ -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</*codim=*/0>();
|
||||
|
||||
for (auto elemIt = gridView.template begin</*codim=*/0>();
|
||||
elemIt != elemEndIt;
|
||||
|
Loading…
Reference in New Issue
Block a user