nullptr safety

(Can't actually happen as the 4 base fields are mandatory,
but it'll keep Coverity happy.)
This commit is contained in:
Jeff Young 2023-12-18 16:33:18 +00:00
parent fc903592ed
commit 47e07f507e
1 changed files with 1 additions and 1 deletions

View File

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