mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Minor compil warnings fixes.
This commit is contained in:
parent
d2a623719b
commit
5f8547dc7e
@ -66,7 +66,7 @@ wxString FOOTPRINTS_LISTBOX::GetSelectedFootprint()
|
||||
wxString footprintName;
|
||||
int ii = GetFirstSelected();
|
||||
|
||||
if( ii >= 0 && ii < m_footprintList.size() )
|
||||
if( ii >= 0 && ii < (int)m_footprintList.size() )
|
||||
{
|
||||
wxString msg = m_footprintList[ii];
|
||||
msg.Trim( true );
|
||||
|
@ -1826,7 +1826,6 @@ int SCH_EDITOR_CONTROL::Paste( const TOOL_EVENT& aEvent )
|
||||
if( item->Type() == SCH_SHEET_T )
|
||||
{
|
||||
SCH_SHEET* sheet = static_cast<SCH_SHEET*>( item );
|
||||
SCH_FIELD* nameField = sheet->GetField( FIELD_T::SHEET_NAME );
|
||||
wxFileName srcFn = sheet->GetFileName();
|
||||
|
||||
if( srcFn.IsRelative() )
|
||||
|
@ -58,6 +58,7 @@ DIFF_PAIR_PLACER::DIFF_PAIR_PLACER( ROUTER* aRouter ) :
|
||||
m_currentEndItem = nullptr;
|
||||
m_currentTraceOk = false;
|
||||
m_idle = true;
|
||||
m_hasFixedAnything = false;
|
||||
}
|
||||
|
||||
DIFF_PAIR_PLACER::~DIFF_PAIR_PLACER()
|
||||
@ -397,7 +398,7 @@ bool DIFF_PAIR_PLACER::rhShoveOnly( const VECTOR2I& aP )
|
||||
// bring back previous state
|
||||
m_currentTrace.SetShape( pLine.CLine(), nLine.CLine() );
|
||||
}
|
||||
|
||||
|
||||
|
||||
return m_fitOk;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user