Fix compil warnings
This commit is contained in:
parent
fdae9f0b75
commit
772dc2f24a
|
@ -1331,7 +1331,7 @@ bool SCH_EAGLE_PLUGIN::loadSymbol( wxXmlNode* aSymbolNode,
|
|||
pin->SetNumberTextSize( 0 );
|
||||
}
|
||||
|
||||
for( int i = 0; i < pads.GetCount(); i++)
|
||||
for( unsigned i = 0; i < pads.GetCount(); i++)
|
||||
{
|
||||
LIB_PIN* apin = new LIB_PIN( *pin );
|
||||
|
||||
|
|
|
@ -362,6 +362,7 @@ bool D_PAD::GetBestAnchorPosition( VECTOR2I& aPos )
|
|||
boost::optional<VECTOR2I> bestAnchor;
|
||||
|
||||
for ( int y = 0; y < stepsY ; y++ )
|
||||
{
|
||||
for ( int x = 0; x < stepsX; x++ )
|
||||
{
|
||||
VECTOR2I p = bbox.GetPosition();
|
||||
|
@ -383,6 +384,7 @@ bool D_PAD::GetBestAnchorPosition( VECTOR2I& aPos )
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( bestAnchor )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue