Fixed a warning in release builds

This commit is contained in:
Maciej Suminski 2016-12-12 09:06:32 +01:00
parent 8afae179ab
commit f94c10b453
1 changed files with 1 additions and 2 deletions

View File

@ -539,8 +539,7 @@ int DRAWING_TOOL::PlaceDXF( const TOOL_EVENT& aEvent )
// Build the undo list & add items to the current view
for( auto item : list )
{
KICAD_T type = item->Type();
assert( type == PCB_LINE_T || type == PCB_TEXT_T );
assert( item->Type() == PCB_LINE_T || item->Type() == PCB_TEXT_T );
preview.Add( item );
}