From be871c0f8c030412dc4bd2114f68027c1801c2f0 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Tue, 20 Feb 2018 12:59:30 +0100 Subject: [PATCH] Removed unused variables --- pcbnew/dialogs/dialog_pad_properties.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pcbnew/dialogs/dialog_pad_properties.cpp b/pcbnew/dialogs/dialog_pad_properties.cpp index c51e9afc1b..fd238e2937 100644 --- a/pcbnew/dialogs/dialog_pad_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_properties.cpp @@ -1990,17 +1990,11 @@ void DIALOG_PAD_PROPERTIES::onGeometryTransform( wxCommandEvent& event ) } // Multiple selections are allowed. Build selected shapes list - std::vector indexes; - indexes.push_back( select ); - std::vector shapeList; shapeList.push_back( &m_primitives[select] ); while( ( select = m_listCtrlPrimitives->GetNextSelected( select ) ) >= 0 ) - { - indexes.push_back( select ); shapeList.push_back( &m_primitives[select] ); - } DIALOG_PAD_PRIMITIVES_TRANSFORM dlg( this, shapeList, false ); @@ -2031,17 +2025,11 @@ void DIALOG_PAD_PROPERTIES::onDuplicatePrimitive( wxCommandEvent& event ) } // Multiple selections are allowed. Build selected shapes list - std::vector indexes; - indexes.push_back( select ); - std::vector shapeList; shapeList.push_back( &m_primitives[select] ); while( ( select = m_listCtrlPrimitives->GetNextSelected( select ) ) >= 0 ) - { - indexes.push_back( select ); shapeList.push_back( &m_primitives[select] ); - } DIALOG_PAD_PRIMITIVES_TRANSFORM dlg( this, shapeList, true );