Ensure some variables are initialized to known values
This commit is contained in:
parent
5c334c147b
commit
c7592758cc
|
@ -225,6 +225,7 @@ static void SetLibShapeFillAndColor( const ASCH_FILL_INTERFACE& elem, LIB_SHAPE*
|
||||||
|
|
||||||
SCH_ALTIUM_PLUGIN::SCH_ALTIUM_PLUGIN()
|
SCH_ALTIUM_PLUGIN::SCH_ALTIUM_PLUGIN()
|
||||||
{
|
{
|
||||||
|
m_isIntLib = false;
|
||||||
m_rootSheet = nullptr;
|
m_rootSheet = nullptr;
|
||||||
m_schematic = nullptr;
|
m_schematic = nullptr;
|
||||||
m_harnessOwnerIndexOffset = 0;
|
m_harnessOwnerIndexOffset = 0;
|
||||||
|
|
|
@ -987,6 +987,10 @@ void BOARD_DESIGN_SETTINGS::initFromOther( const BOARD_DESIGN_SETTINGS& aOther )
|
||||||
m_NetSettings = aOther.m_NetSettings;
|
m_NetSettings = aOther.m_NetSettings;
|
||||||
m_Pad_Master = std::make_unique<PAD>( *aOther.m_Pad_Master );
|
m_Pad_Master = std::make_unique<PAD>( *aOther.m_Pad_Master );
|
||||||
m_defaultZoneSettings = aOther.m_defaultZoneSettings;
|
m_defaultZoneSettings = aOther.m_defaultZoneSettings;
|
||||||
|
|
||||||
|
m_StyleFPFields = aOther.m_StyleFPFields;
|
||||||
|
m_StyleFPText = aOther.m_StyleFPText;
|
||||||
|
m_StyleFPShapes = aOther.m_StyleFPShapes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -494,6 +494,11 @@ APOLYGON6::APOLYGON6( ALTIUM_PARSER& aReader )
|
||||||
ARULE6::ARULE6( ALTIUM_PARSER& aReader )
|
ARULE6::ARULE6( ALTIUM_PARSER& aReader )
|
||||||
{
|
{
|
||||||
// Initialize all variables and make Coverity happy
|
// Initialize all variables and make Coverity happy
|
||||||
|
minLimit = 0;
|
||||||
|
maxLimit = 0;
|
||||||
|
preferredWidth = 0;
|
||||||
|
soldermaskExpansion = 0;
|
||||||
|
pastemaskExpansion = 0;
|
||||||
clearanceGap = 0;
|
clearanceGap = 0;
|
||||||
planeclearanceClearance = 0;
|
planeclearanceClearance = 0;
|
||||||
polygonconnectAirgapwidth = 0;
|
polygonconnectAirgapwidth = 0;
|
||||||
|
|
Loading…
Reference in New Issue