Remove no-longer-used guard.

This commit is contained in:
Jeff Young 2023-08-31 15:05:29 +01:00
parent 81117d2217
commit f08370b3dc
1 changed files with 2 additions and 7 deletions

View File

@ -105,15 +105,10 @@ bool PNS_LOG_FILE::parseCommonPnsProps( PNS::ITEM* aItem, const wxString& cmd,
wxStringTokenizer& aTokens )
{
if( cmd == wxS( "net" ) )
{
if( aItem->Parent() && aItem->Parent()->GetBoard() )
{
aItem->SetNet( m_board->FindNet( aTokens.GetNextToken() ) );
return true;
}
return false;
}
else if( cmd == wxS( "layers" ) )
{
int start = wxAtoi( aTokens.GetNextToken() );