From a8028e3bd12c4caebb336bee77622ef8103537c8 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 24 Jun 2021 11:02:13 +0100 Subject: [PATCH] Fix uninitialized variables. --- pcbnew/plugins/fabmaster/import_fabmaster.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pcbnew/plugins/fabmaster/import_fabmaster.h b/pcbnew/plugins/fabmaster/import_fabmaster.h index 73fc3eb72e..07a26bf4ae 100644 --- a/pcbnew/plugins/fabmaster/import_fabmaster.h +++ b/pcbnew/plugins/fabmaster/import_fabmaster.h @@ -53,8 +53,16 @@ public: using single_row = std::vector; FABMASTER() : - has_pads( false ), has_comps( false ), has_graphic( false ), - has_nets( false ), has_pins( false ) + has_pads( false ), + has_comps( false ), + has_graphic( false ), + has_nets( false ), + has_pins( false ), + m_progressReporter( nullptr ), + m_doneCount( 0 ), + m_lastProgressCount( 0 ), + m_totalCount( 0 ) + {} bool Read( const std::string& aFile );