From f663b42d77a4efe5209bf7555c5aca657ac4aa57 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 30 Nov 2022 11:26:48 -0800 Subject: [PATCH] Remove unused vars --- eeschema/component_references_lister.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eeschema/component_references_lister.cpp b/eeschema/component_references_lister.cpp index 2831742e16..2bef92c95b 100644 --- a/eeschema/component_references_lister.cpp +++ b/eeschema/component_references_lister.cpp @@ -437,7 +437,6 @@ void SCH_REFERENCE_LIST::Annotate( bool aUseSheetNum, int aSheetIntervalId, int } int LastReferenceNumber = 0; - int NumberOfUnits, Unit; /* calculate index of the first symbol with the same reference prefix * than the current symbol. All symbols having the same reference @@ -518,9 +517,6 @@ void SCH_REFERENCE_LIST::Annotate( bool aUseSheetNum, int aSheetIntervalId, int continue; } - // Annotation of multi-unit parts ( n units per part ) (complex case) - NumberOfUnits = ref_unit.GetLibPart()->GetUnitCount(); - // If this symbol is in aLockedUnitMap, copy the annotation to all // symbols that are not it if( lockedList != nullptr )