mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Guard null pointer use
This commit is contained in:
parent
a86abab3cb
commit
cb1c94630b
@ -217,7 +217,10 @@ QList<caf::PdmOptionItemInfo>
|
||||
if ( !dataSourceSteppingObject()->curveSets().empty() )
|
||||
{
|
||||
auto first = dataSourceSteppingObject()->curveSets().front();
|
||||
analyzer = first->summaryCaseCollection()->addressAnalyzer();
|
||||
if ( first->summaryCaseCollection() )
|
||||
{
|
||||
analyzer = first->summaryCaseCollection()->addressAnalyzer();
|
||||
}
|
||||
}
|
||||
|
||||
if ( !analyzer )
|
||||
|
Loading…
Reference in New Issue
Block a user