From 37a3f52d81a898a2450eb8fb4ed2b90100b902a7 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand <seth@kipro-pcb.com> Date: Fri, 29 Mar 2024 16:48:08 -0700 Subject: [PATCH] Remove unused variable --- pcbnew/footprint.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 16c2865270..9871dafcd7 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -786,8 +786,6 @@ void FOOTPRINT::Remove( BOARD_ITEM* aBoardItem, REMOVE_MODE aMode ) { case PCB_FIELD_T: { - PCB_FIELD* field = static_cast<PCB_FIELD*>( aBoardItem ); - for( auto it = m_fields.begin(); it != m_fields.end(); ++it ) { if( *it == aBoardItem )