Fix some uninitialized variables found by Coverity.
This commit is contained in:
parent
2e509480a4
commit
3d8150032f
|
@ -45,7 +45,8 @@
|
|||
|
||||
|
||||
LIB_EDIT_TOOL::LIB_EDIT_TOOL() :
|
||||
EE_TOOL_BASE( "eeschema.SymbolEditTool" )
|
||||
EE_TOOL_BASE( "eeschema.SymbolEditTool" ),
|
||||
m_pickerItem( nullptr )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -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() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue