From baaf341d0dbea5c08689b134b8c71802c13d73a9 Mon Sep 17 00:00:00 2001
From: Jeff Young <jeff@rokeby.ie>
Date: Sat, 29 Mar 2025 16:47:44 +0000
Subject: [PATCH] Remove debug assert.

Yes, it does indeed fire (a lot, as Sentry can
tell us).
---
 pcbnew/undo_redo.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pcbnew/undo_redo.cpp b/pcbnew/undo_redo.cpp
index 6269c9800a..eb77aef215 100644
--- a/pcbnew/undo_redo.cpp
+++ b/pcbnew/undo_redo.cpp
@@ -364,9 +364,6 @@ void PCB_BASE_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList )
         {
             if( GetBoard()->GetItem( eda_item->m_Uuid ) == DELETED_BOARD_ITEM::GetInstance() )
             {
-                // Checking if it ever happens
-                wxASSERT_MSG( false, wxT( "Item in the undo buffer does not exist" ) );
-
                 // Remove this non existent item
                 aList->RemovePicker( ii );
                 not_found = true;