Eeschema: fix uninitialized members
Coverity: 102614, 102723
This commit is contained in:
parent
5e36c48012
commit
b381d99300
|
@ -119,6 +119,7 @@ SCH_COMPONENT::SCH_COMPONENT( const wxPoint& aPos, SCH_ITEM* aParent ) :
|
||||||
{
|
{
|
||||||
Init( aPos );
|
Init( aPos );
|
||||||
m_currentSheetPath = NULL;
|
m_currentSheetPath = NULL;
|
||||||
|
m_fieldsAutoplaced = AUTOPLACED_NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -133,6 +134,7 @@ SCH_COMPONENT::SCH_COMPONENT( LIB_PART& aPart, SCH_SHEET_PATH* sheet, int unit,
|
||||||
m_part_name = aPart.GetName();
|
m_part_name = aPart.GetName();
|
||||||
m_part = aPart.SharedPtr();
|
m_part = aPart.SharedPtr();
|
||||||
m_currentSheetPath = NULL;
|
m_currentSheetPath = NULL;
|
||||||
|
m_fieldsAutoplaced = AUTOPLACED_NO;
|
||||||
|
|
||||||
SetTimeStamp( GetNewTimeStamp() );
|
SetTimeStamp( GetNewTimeStamp() );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue