router: fix compilation warnings
This commit is contained in:
parent
456c02c800
commit
b52eb441a1
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue