diff --git a/pcbnew/drc/drc_test_provider_hole_size.cpp b/pcbnew/drc/drc_test_provider_hole_size.cpp index a365ef4e9a..2f59ae34f1 100644 --- a/pcbnew/drc/drc_test_provider_hole_size.cpp +++ b/pcbnew/drc/drc_test_provider_hole_size.cpp @@ -85,24 +85,6 @@ bool DRC_TEST_PROVIDER_HOLE_SIZE::Run() } } - for( FOOTPRINT* footprint : m_drcEngine->GetBoard()->Footprints() ) - { - footprint->CheckPads( - [&]( const PAD* pad, int errorCode, const wxString& msg ) - { - if( m_drcEngine->IsErrorLimitExceeded( errorCode ) ) - return; - - std::shared_ptr drcItem = DRC_ITEM::Create( errorCode ); - - if( !msg.IsEmpty() ) - drcItem->SetErrorMessage( drcItem->GetErrorText() + wxS( " " ) + msg ); - - drcItem->SetItems( pad ); - reportViolation( drcItem, pad->GetPosition(), UNDEFINED_LAYER ); - } ); - } - if( !m_drcEngine->IsErrorLimitExceeded( DRCE_MICROVIA_DRILL_OUT_OF_RANGE ) || !m_drcEngine->IsErrorLimitExceeded( DRCE_DRILL_OUT_OF_RANGE ) ) {