From 94f8aafec5c344079593bafef6650524f970087c Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 13 Jan 2020 00:17:50 +0000 Subject: [PATCH] Fix missing variable initialization. --- pcbnew/tools/pcbnew_control.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/tools/pcbnew_control.cpp b/pcbnew/tools/pcbnew_control.cpp index 9eb3f407f2..96e78bfd34 100644 --- a/pcbnew/tools/pcbnew_control.cpp +++ b/pcbnew/tools/pcbnew_control.cpp @@ -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() ); }