diff --git a/pcbnew/drc/drc_tree_model.cpp b/pcbnew/drc/drc_tree_model.cpp index 57bb8c7ed6..7de4247948 100644 --- a/pcbnew/drc/drc_tree_model.cpp +++ b/pcbnew/drc/drc_tree_model.cpp @@ -59,6 +59,7 @@ BOARD_ITEM* DRC_TREE_MODEL::ToBoardItem( BOARD* aBoard, wxDataViewItem aItem ) DRC_TREE_MODEL::DRC_TREE_MODEL( PCB_BASE_FRAME* aParentFrame, wxDataViewCtrl* aView ) : m_parentFrame( aParentFrame ), m_view( aView ), + m_severities( 0 ), m_drcItemsProvider( nullptr ) { m_view->GetMainWindow()->Connect( wxEVT_SIZE,