mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#1257 Added null pointer guarding based on reports from CppCheck
This commit is contained in:
@@ -606,12 +606,14 @@ void RiaApplication::loadAndUpdatePlotData()
|
||||
}
|
||||
}
|
||||
|
||||
plotProgress.setNextProgressIncrement(flowColl->plotCount());
|
||||
|
||||
if (flowColl)
|
||||
{
|
||||
flowColl->loadDataAndUpdate();
|
||||
|
||||
plotProgress.setNextProgressIncrement(flowColl->plotCount());
|
||||
}
|
||||
|
||||
plotProgress.incrementProgress();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user