Minor changes: remove a few local shadowed local variables detected using " -Wshadow" gcc compil option ( No bug, just a better code readability ) and fix minor coding style issues.

This commit is contained in:
jean-pierre charras
2016-04-18 20:15:44 +02:00
parent b846a98199
commit fde2cfee27
15 changed files with 114 additions and 120 deletions
@@ -564,10 +564,10 @@ void DIALOG_MODULE_MODULE_EDITOR::OnOkClick( wxCommandEvent& event )
m_currentModule->SetLocalSolderPasteMarginRatio( dtmp / 100 );
// Update 3D shape list
int ii = m_3D_ShapeNameListBox->GetSelection();
int idx = m_3D_ShapeNameListBox->GetSelection();
if ( ii >= 0 )
TransfertDisplayTo3DValues( ii );
if ( idx >= 0 )
TransfertDisplayTo3DValues( idx );
S3D_MASTER* draw3D = m_currentModule->Models();