mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1257 Added null pointer guarding based on reports from CppCheck
This commit is contained in:
@@ -148,6 +148,7 @@ void RimCellRangeFilterCollection::updateDisplayModeNotifyManagedViews(RimCellRa
|
||||
{
|
||||
RimView* view = NULL;
|
||||
firstAncestorOrThisOfType(view);
|
||||
if (!view) return;
|
||||
|
||||
if (view->isMasterView())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user