nullptr safety
(Can't actually happen as the 4 base fields are mandatory, but it'll keep Coverity happy.)
This commit is contained in:
parent
fc903592ed
commit
47e07f507e
|
@ -1633,7 +1633,7 @@ void SIM_MODEL::MigrateSimModel( T_symbol& aSymbol, const PROJECT* aProject )
|
|||
spiceModelInfo = FIELD_INFO( getSIValue( modelField ), modelField );
|
||||
aSymbol.RemoveField( modelField );
|
||||
}
|
||||
else
|
||||
else if( valueField )
|
||||
{
|
||||
spiceModelInfo = FIELD_INFO( getSIValue( valueField ), valueField );
|
||||
modelFromValueField = true;
|
||||
|
|
Loading…
Reference in New Issue