router: fix compilation warnings

This commit is contained in:
Tomasz Wlostowski 2016-08-15 17:16:50 +02:00 committed by Maciej Suminski
parent 456c02c800
commit b52eb441a1
2 changed files with 2 additions and 1 deletions

View File

@ -196,7 +196,6 @@ SHAPE_LINE_CHAIN PNS_MEANDER_SHAPE::makeMiterShape( VECTOR2D aP, VECTOR2D aDir,
lc.Append( ( int ) p.x, ( int ) p.y );
PNS_DEBUG_DECORATOR *dbg = PNS_ROUTER::GetInstance()->GetInterface()->GetDebugDecorator();
// fixme: refactor
switch (m_placer->MeanderSettings().m_cornerStyle)
{

View File

@ -261,6 +261,8 @@ int PNS_NODE::QueryColliding( const PNS_ITEM *aItem,
aVisitor.SetWorld( m_root, this );
m_root->m_index->Query( aItem, m_maxClearance, aVisitor );
}
return 0;
}