Fix some uninitialized variables found by Coverity.

This commit is contained in:
Jeff Young
2020-01-11 21:29:25 +00:00
parent 2e509480a4
commit 3d8150032f
3 changed files with 9 additions and 3 deletions
+2 -1
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() )
{