Remove redundant NULL check

Coverity CID: 134088
This commit is contained in:
Chris Pavlina 2016-05-11 23:28:03 -04:00
parent ac3cd950b1
commit e782e463f4
1 changed files with 2 additions and 2 deletions

View File

@ -341,9 +341,9 @@ TRACK* SPECCTRA_DB::makeTRACK( PATH* aPath, int aPointIndex, int aNetcode ) thro
via->SetLayerPair( topLayer, botLayer );
}
if( via )
via->SetNetCode( aNetCode );
wxASSERT( via );
via->SetNetCode( aNetCode );
return via;
}