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:
@@ -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