Nullptr safety. (Sentry KICAD-5N)
This commit is contained in:
parent
47d88c5647
commit
f90b04c715
|
@ -935,6 +935,8 @@ static void CreateSignalsSection( FILE* aFile, BOARD* aPcb )
|
|||
{
|
||||
net = aPcb->FindNet( ii );
|
||||
|
||||
if( net )
|
||||
{
|
||||
if( net->GetNetname() == wxEmptyString ) // dummy netlist (no connection)
|
||||
{
|
||||
msg.Printf( wxT( "NoConnection%d" ), NbNoConn++ );
|
||||
|
@ -964,6 +966,7 @@ static void CreateSignalsSection( FILE* aFile, BOARD* aPcb )
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fputs( "$ENDSIGNALS\n\n", aFile );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue