mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
CppCheck : Guard null pointer access
This commit is contained in:
@@ -281,8 +281,11 @@ void RimWellAllocationPlot::updateFromWell()
|
||||
wfCalculator->tracerFlowPrPseudoLength(tracerName, brIdx));
|
||||
}
|
||||
|
||||
addStackedCurve(tracerName, depthValues, *accFlow, plotTrack);
|
||||
//TODO: THIs is the data to be plotted...
|
||||
if (accFlow)
|
||||
{
|
||||
addStackedCurve(tracerName, depthValues, *accFlow, plotTrack);
|
||||
// TODO: THIs is the data to be plotted...
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user