Fix warnings

This commit is contained in:
Jon Evans 2024-06-11 22:01:06 -04:00
parent 5fc0f1f51e
commit 896f56772f
5 changed files with 5 additions and 14 deletions

View File

@ -880,9 +880,6 @@ AR_RESULT AR_AUTOPLACER::AutoplaceFootprints( std::vector<FOOTPRINT*>& aFootprin
genModuleOnRoutingMatrix( footprint ); genModuleOnRoutingMatrix( footprint );
} }
int cnt = 0;
if( m_progressReporter ) if( m_progressReporter )
{ {
m_progressReporter->Report( _( "Autoplacing components..." ) ); m_progressReporter->Report( _( "Autoplacing components..." ) );
@ -930,8 +927,6 @@ AR_RESULT AR_AUTOPLACER::AutoplaceFootprints( std::vector<FOOTPRINT*>& aFootprin
break; break;
} }
} }
cnt++;
} }
m_curPosition = memopos; m_curPosition = memopos;

View File

@ -1137,14 +1137,12 @@ bool PANEL_SETUP_BOARD_STACKUP::transferDataFromUIToStackup()
wxString error_msg; wxString error_msg;
bool success = true; bool success = true;
double value; double value;
int row = 0;
for( BOARD_STACKUP_ROW_UI_ITEM& ui_item : m_rowUiItemsList ) for( BOARD_STACKUP_ROW_UI_ITEM& ui_item : m_rowUiItemsList )
{ {
// Skip stackup items useless for the current board // Skip stackup items useless for the current board
if( !ui_item.m_isEnabled ) if( !ui_item.m_isEnabled )
{ {
row++;
continue; continue;
} }
@ -1262,8 +1260,6 @@ bool PANEL_SETUP_BOARD_STACKUP::transferDataFromUIToStackup()
item->SetColor( GetStandardColorName( item->GetType(), idx ), sub_item ); item->SetColor( GetStandardColorName( item->GetType(), idx ), sub_item );
} }
} }
row++;
} }
if( !success ) if( !success )

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6-dirty) // C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
// http://www.wxformbuilder.org/ // http://www.wxformbuilder.org/
// //
// PLEASE DO *NOT* EDIT THIS FILE! // PLEASE DO *NOT* EDIT THIS FILE!
@ -113,7 +113,7 @@ PANEL_SETUP_MASK_AND_PASTE_BASE::PANEL_SETUP_MASK_AND_PASTE_BASE( wxWindow* pare
bSizer6->Add( m_tentViasBack, 0, wxALL, 5 ); bSizer6->Add( m_tentViasBack, 0, wxALL, 5 );
gbSizer1->Add( bSizer6, wxGBPosition( 4, 0 ), wxGBSpan( 0, 2 ), wxEXPAND, 5 ); gbSizer1->Add( bSizer6, wxGBPosition( 4, 0 ), wxGBSpan( 1, 3 ), wxEXPAND, 5 );
m_pasteMarginLabel = new wxStaticText( this, wxID_ANY, _("Solder paste absolute clearance:"), wxDefaultPosition, wxDefaultSize, 0 ); m_pasteMarginLabel = new wxStaticText( this, wxID_ANY, _("Solder paste absolute clearance:"), wxDefaultPosition, wxDefaultSize, 0 );
m_pasteMarginLabel->Wrap( -1 ); m_pasteMarginLabel->Wrap( -1 );

View File

@ -1022,11 +1022,11 @@
</object> </object>
<object class="gbsizeritem" expanded="true"> <object class="gbsizeritem" expanded="true">
<property name="border">5</property> <property name="border">5</property>
<property name="colspan">2</property> <property name="colspan">3</property>
<property name="column">0</property> <property name="column">0</property>
<property name="flag">wxEXPAND</property> <property name="flag">wxEXPAND</property>
<property name="row">4</property> <property name="row">4</property>
<property name="rowspan">0</property> <property name="rowspan">1</property>
<object class="wxBoxSizer" expanded="true"> <object class="wxBoxSizer" expanded="true">
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">bSizer6</property> <property name="name">bSizer6</property>

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6-dirty) // C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
// http://www.wxformbuilder.org/ // http://www.wxformbuilder.org/
// //
// PLEASE DO *NOT* EDIT THIS FILE! // PLEASE DO *NOT* EDIT THIS FILE!