diff --git a/eeschema/tools/lib_edit_tool.cpp b/eeschema/tools/lib_edit_tool.cpp index e0ad53ca95..f347c368fc 100644 --- a/eeschema/tools/lib_edit_tool.cpp +++ b/eeschema/tools/lib_edit_tool.cpp @@ -45,7 +45,8 @@ LIB_EDIT_TOOL::LIB_EDIT_TOOL() : - EE_TOOL_BASE( "eeschema.SymbolEditTool" ) + EE_TOOL_BASE( "eeschema.SymbolEditTool" ), + m_pickerItem( nullptr ) { } diff --git a/pagelayout_editor/tools/pl_edit_tool.cpp b/pagelayout_editor/tools/pl_edit_tool.cpp index 431ff8d011..8dbc130e0a 100644 --- a/pagelayout_editor/tools/pl_edit_tool.cpp +++ b/pagelayout_editor/tools/pl_edit_tool.cpp @@ -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 ) { } diff --git a/pcbnew/pcb_base_edit_frame.cpp b/pcbnew/pcb_base_edit_frame.cpp index 3f950f4173..4ec0ed1adf 100644 --- a/pcbnew/pcb_base_edit_frame.cpp +++ b/pcbnew/pcb_base_edit_frame.cpp @@ -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() ) {