Fix a couple of uninitialized variables (from Coverity scan).
This commit is contained in:
parent
0fd68dad62
commit
88eab8134e
|
@ -119,6 +119,7 @@ private:
|
||||||
SCH_EDIT_TOOL::SCH_EDIT_TOOL() :
|
SCH_EDIT_TOOL::SCH_EDIT_TOOL() :
|
||||||
EE_TOOL_BASE<SCH_EDIT_FRAME>( "eeschema.InteractiveEdit" )
|
EE_TOOL_BASE<SCH_EDIT_FRAME>( "eeschema.InteractiveEdit" )
|
||||||
{
|
{
|
||||||
|
m_pickerItem = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,8 @@ TOOL_BASE::TOOL_BASE( const std::string& aToolName ) :
|
||||||
|
|
||||||
m_endItem = nullptr;
|
m_endItem = nullptr;
|
||||||
m_gridHelper = nullptr;
|
m_gridHelper = nullptr;
|
||||||
|
|
||||||
|
m_cancelled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue