Fix minor compil warnings

This commit is contained in:
jean-pierre charras 2021-01-07 20:53:52 +01:00
parent 926cc3a00d
commit bf332b3189
2 changed files with 1 additions and 3 deletions

View File

@ -77,8 +77,8 @@ DIALOG_SHIM::DIALOG_SHIM( wxWindow* aParent, wxWindowID id, const wxString& titl
const wxString& name ) :
wxDialog( aParent, id, title, pos, size, style, name ),
KIWAY_HOLDER( nullptr, KIWAY_HOLDER::DIALOG ),
m_useCalculatedSize( false ),
m_units( EDA_UNITS::MILLIMETRES ),
m_useCalculatedSize( false ),
m_firstPaintEvent( true ),
m_initialFocusTarget( nullptr ),
m_qmodal_loop( nullptr ),

View File

@ -194,8 +194,6 @@ void DIALOG_GLOBAL_DELETION::acceptPcbDelete()
{
for( FOOTPRINT* footprint : pcb->Footprints() )
{
bool del_fp = delAll;
if( !delAll )
{
if( footprint->IsLocked() && !m_footprintFilterLocked->GetValue() )