#1292 Fixed CppCheck Issues in ModelVisualization

This commit is contained in:
Jacob Støren
2017-03-06 11:18:34 +01:00
parent c7c01e346c
commit b5e782dfc3
19 changed files with 17 additions and 22 deletions

View File

@@ -349,8 +349,7 @@ cvf::ref<RivIntersectionHexGridInterface> RivIntersectionBoxPartMgr::createHexGr
m_rimIntersectionBox->firstAncestorOrThisOfType(eclipseView);
if (eclipseView)
{
RigMainGrid* grid = NULL;
grid = eclipseView->mainGrid();
RigMainGrid* grid = eclipseView->mainGrid();
return new RivEclipseIntersectionGrid(grid, eclipseView->currentActiveCellInfo(), m_rimIntersectionBox->showInactiveCells());
}