Fix minor Coverity warnings
This commit is contained in:
parent
742757b98b
commit
9e3e4ae9a6
|
@ -452,6 +452,10 @@ ASCH_HARNESS_CONNECTOR::ASCH_HARNESS_CONNECTOR( const std::map<wxString, wxStrin
|
||||||
|
|
||||||
Color = ALTIUM_PARSER::ReadInt( aProps, "COLOR", 0 );
|
Color = ALTIUM_PARSER::ReadInt( aProps, "COLOR", 0 );
|
||||||
AreaColor = ALTIUM_PARSER::ReadInt( aProps, "AREACOLOR", 0 );
|
AreaColor = ALTIUM_PARSER::ReadInt( aProps, "AREACOLOR", 0 );
|
||||||
|
|
||||||
|
IndexInSheet = 0;
|
||||||
|
LineWidth = 0;;
|
||||||
|
LocationPrimaryConnectionPosition = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -477,6 +481,7 @@ ASCH_HARNESS_ENTRY::ASCH_HARNESS_ENTRY( const std::map<wxString, wxString>& aPro
|
||||||
AreaColor = ALTIUM_PARSER::ReadInt( aProps, "AREACOLOR", 0 );
|
AreaColor = ALTIUM_PARSER::ReadInt( aProps, "AREACOLOR", 0 );
|
||||||
TextColor = ALTIUM_PARSER::ReadInt( aProps, "TEXTCOLOR", 0 );
|
TextColor = ALTIUM_PARSER::ReadInt( aProps, "TEXTCOLOR", 0 );
|
||||||
TextFontID = ALTIUM_PARSER::ReadInt( aProps, "TEXTFONTID", 0 );
|
TextFontID = ALTIUM_PARSER::ReadInt( aProps, "TEXTFONTID", 0 );
|
||||||
|
TextStyle = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -130,6 +130,8 @@ SCH_ALTIUM_PLUGIN::SCH_ALTIUM_PLUGIN()
|
||||||
m_rootSheet = nullptr;
|
m_rootSheet = nullptr;
|
||||||
m_currentSheet = nullptr;
|
m_currentSheet = nullptr;
|
||||||
m_schematic = nullptr;
|
m_schematic = nullptr;
|
||||||
|
m_harnessOwnerIndexOffset = 0;
|
||||||
|
m_harnessEntryParent = 0;
|
||||||
|
|
||||||
m_reporter = &WXLOG_REPORTER::GetInstance();
|
m_reporter = &WXLOG_REPORTER::GetInstance();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue