7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-19 00:21:36 +00:00

Fix build warnings

This commit is contained in:
JamesJCode 2024-10-31 20:37:18 +00:00
parent 4d25d94076
commit 6e5aad204c

View File

@ -274,8 +274,6 @@ BOX2I PIN_LAYOUT_CACHE::GetPinBoundingBox( bool aIncludeLabelsOnInvisiblePins,
return r;
}
VECTOR2I begin;
VECTOR2I end;
bool includeName = aIncludeNameAndNumber && !m_pin.GetShownName().IsEmpty();
bool includeNumber = aIncludeNameAndNumber && !m_pin.GetShownNumber().IsEmpty();
bool includeType = aIncludeElectricalType;