Cleanup unused variables.

This commit is contained in:
Jeff Young 2023-12-07 13:16:17 +00:00
parent aa046345eb
commit d257dc5b4e
3 changed files with 1 additions and 11 deletions

View File

@ -194,7 +194,6 @@ int ExecuteFile( const wxString& aEditorName, const wxString& aFileName, wxProce
if( wxFileExists( fullEditorName ) )
{
int i = 0;
std::vector<const wchar_t*> args;
args.emplace_back( fullEditorName.wc_str() );

View File

@ -71,9 +71,7 @@ struct CREATE_ARRAY_DIALOG_ENTRIES
m_CircRotatationStep( false ),
m_ArrayTypeTab( 0 ), // start on grid view
m_FootprintKeepAnnotations( false ),
m_FootprintReannotate( true ), // Assign unique by default
m_CenterByRadius( false ),
m_CenterByPosition( true )
m_FootprintReannotate( true ) // Assign unique by default
{
}
@ -111,8 +109,6 @@ struct CREATE_ARRAY_DIALOG_ENTRIES
long m_ArrayTypeTab;
bool m_FootprintKeepAnnotations;
bool m_FootprintReannotate;
bool m_CenterByRadius;
bool m_CenterByPosition;
};
// Persistent options settings
@ -238,9 +234,6 @@ DIALOG_CREATE_ARRAY::DIALOG_CREATE_ARRAY( PCB_BASE_FRAME* aParent,
m_cfg_persister.Add( *m_radioBtnKeepRefs, s_arrayOptions.m_FootprintKeepAnnotations );
m_cfg_persister.Add( *m_radioBtnUniqueRefs, s_arrayOptions.m_FootprintReannotate );
m_cfg_persister.Add( *m_radioBtnSetByPos, s_arrayOptions.m_CenterByPosition );
m_cfg_persister.Add( *m_radioBtnSetByRadius, s_arrayOptions.m_CenterByRadius );
m_cfg_persister.RestoreConfigToControls();
// Run the callbacks once to process the dialog contents

View File

@ -86,8 +86,6 @@ private:
UNIT_BINDER m_circRadius;
UNIT_BINDER m_circCenterAngle;
UNIT_BINDER m_circAngle;
bool m_CenterByRadius;
bool m_CenterByPosition;
WIDGET_SAVE_RESTORE m_cfg_persister;
};