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:
parent
d2431a40a9
commit
be77e4e048
@ -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...
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user