Fix missing variable initialization.

This commit is contained in:
Jeff Young 2020-01-13 00:17:50 +00:00
parent 9e8a66a0a3
commit 94f8aafec5
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,8 @@ extern IO_MGR::PCB_FILE_T plugin_type( const wxString& aFileName, int aCtl );
PCBNEW_CONTROL::PCBNEW_CONTROL() :
PCB_TOOL_BASE( "pcbnew.Control" ),
m_frame( nullptr )
m_frame( nullptr ),
m_pickerItem( nullptr )
{
m_gridOrigin.reset( new KIGFX::ORIGIN_VIEWITEM() );
}