Remove accidentally-checked-in debugging code.

This commit is contained in:
Jeff Young
2023-09-02 10:11:38 +01:00
parent 8a4f203963
commit 2d762acc7d
2 changed files with 1 additions and 8 deletions
-7
View File
@@ -411,13 +411,6 @@ void BOARD_COMMIT::Push( const wxString& aMessage, int aCommitFlags )
if( view )
view->Update( boardItem );
if( boardItem->Type() == PCB_FOOTPRINT_T )
{
PAD* pad1 = static_cast<FOOTPRINT*>( boardItem )->Pads()[0];
bool padEntered = pad1->IsEntered();
wxString padNumber = pad1->GetNumber();
}
itemsChanged.push_back( boardItem );
// if no undo entry is needed, the copy would create a memory leak