From 698a668af7f00de4f7fb68bd96cfffeb7a4c72b1 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 26 Nov 2021 18:14:13 +0000 Subject: [PATCH] Coverity fixes. --- eeschema/sch_bus_entry.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eeschema/sch_bus_entry.cpp b/eeschema/sch_bus_entry.cpp index 6963ee0d3c..a6b936f3cd 100644 --- a/eeschema/sch_bus_entry.cpp +++ b/eeschema/sch_bus_entry.cpp @@ -57,6 +57,10 @@ SCH_BUS_ENTRY_BASE::SCH_BUS_ENTRY_BASE( KICAD_T aType, const wxPoint& pos, bool m_size.y *= -1; m_isDanglingStart = m_isDanglingEnd = true; + + m_lastResolvedWidth = Mils2iu( DEFAULT_WIRE_WIDTH_MILS ); + m_lastResolvedLineStyle = PLOT_DASH_TYPE::SOLID; + m_lastResolvedColor = COLOR4D::UNSPECIFIED; }