Fix some uninitialized variables found by Coverity.

This commit is contained in:
Jeff Young 2020-01-11 16:56:25 +00:00
parent 2e509480a4
commit 3d8150032f
3 changed files with 9 additions and 3 deletions

View File

@ -45,7 +45,8 @@
LIB_EDIT_TOOL::LIB_EDIT_TOOL() :
EE_TOOL_BASE( "eeschema.SymbolEditTool" )
EE_TOOL_BASE( "eeschema.SymbolEditTool" ),
m_pickerItem( nullptr )
{
}

View File

@ -40,7 +40,11 @@
PL_EDIT_TOOL::PL_EDIT_TOOL() :
TOOL_INTERACTIVE( "plEditor.InteractiveEdit" ),
m_frame( nullptr ),
m_selectionTool( nullptr )
m_selectionTool( nullptr ),
m_moveInProgress( false ),
m_moveOffset( 0, 0 ),
m_cursor( 0, 0 ),
m_pickerItem( nullptr )
{
}

View File

@ -38,7 +38,8 @@ PCB_BASE_EDIT_FRAME::PCB_BASE_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent,
const wxPoint& aPos, const wxSize& aSize, long aStyle,
const wxString& aFrameName ) :
PCB_BASE_FRAME( aKiway, aParent, aFrameType, aTitle, aPos, aSize, aStyle, aFrameName ),
m_rotationAngle( 900 ), m_undoRedoBlocked( false )
m_rotationAngle( 900 ), m_undoRedoBlocked( false ),
m_Layers( nullptr )
{
if( !GFootprintList.GetCount() )
{