mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#1257 More null pointer guards based on CppCheck
This commit is contained in:
@@ -49,6 +49,7 @@ void RimPropertyFilterCollection::updateDisplayModelNotifyManagedViews() const
|
||||
RimView* view = NULL;
|
||||
this->firstAncestorOrThisOfType(view);
|
||||
CVF_ASSERT(view);
|
||||
if (!view) return;
|
||||
|
||||
view->scheduleGeometryRegen(PROPERTY_FILTERED);
|
||||
view->scheduleCreateDisplayModelAndRedraw();
|
||||
|
||||
Reference in New Issue
Block a user