Browse Source

Remove unused variable.

6.0.7
Jeff Young 4 years ago
parent
commit
c7f098ab25
  1. 3
      common/widgets/footprint_select_widget.cpp
  2. 1
      include/widgets/footprint_select_widget.h

3
common/widgets/footprint_select_widget.cpp

@ -36,7 +36,6 @@ FOOTPRINT_SELECT_WIDGET::FOOTPRINT_SELECT_WIDGET( EDA_DRAW_FRAME* aFrame, wxWind
FOOTPRINT_LIST* aFpList, bool aUpdate,
int aMaxItems ) :
wxPanel( aParent ),
m_kiway( nullptr ),
m_update( aUpdate ),
m_max_items( aMaxItems ),
m_fp_list( aFpList )
@ -56,8 +55,6 @@ FOOTPRINT_SELECT_WIDGET::FOOTPRINT_SELECT_WIDGET( EDA_DRAW_FRAME* aFrame, wxWind
void FOOTPRINT_SELECT_WIDGET::Load( KIWAY& aKiway, PROJECT& aProject )
{
m_kiway = &aKiway;
try
{
m_fp_list = FOOTPRINT_LIST::GetInstance( aKiway );

1
include/widgets/footprint_select_widget.h

@ -123,7 +123,6 @@ public:
virtual bool Enable( bool aEnable = true ) override;
private:
KIWAY* m_kiway;
FOOTPRINT_CHOICE* m_fp_sel_ctrl;
wxSizer* m_sizer;

Loading…
Cancel
Save