Fix a couple of uninitialized variables (from Coverity scan).

This commit is contained in:
Jeff Young 2020-01-11 00:11:31 +00:00
parent 0fd68dad62
commit 88eab8134e
2 changed files with 3 additions and 0 deletions

View File

@ -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;
} }

View File

@ -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;
} }