diff --git a/common/dialogs/dialog_global_lib_table_config.cpp b/common/dialogs/dialog_global_lib_table_config.cpp index d6b60c503b..67c8a0efeb 100644 --- a/common/dialogs/dialog_global_lib_table_config.cpp +++ b/common/dialogs/dialog_global_lib_table_config.cpp @@ -29,7 +29,8 @@ DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG( wxWindow* aParent, const wxString& aTableName ) : - DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE( aParent ) + DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE( aParent ), + m_defaultFileFound( false ) { m_tableName = aTableName; diff --git a/common/lib_tree_model.cpp b/common/lib_tree_model.cpp index 5356295c1e..fcbb460085 100644 --- a/common/lib_tree_model.cpp +++ b/common/lib_tree_model.cpp @@ -120,7 +120,8 @@ LIB_TREE_NODE::LIB_TREE_NODE() Score( kLowestDefaultScore ), Normalized( false ), Unit( 0 ), - IsRoot( false ) + IsRoot( false ), + VisLen( 0 ) {} diff --git a/eeschema/dialogs/dialog_spice_model.cpp b/eeschema/dialogs/dialog_spice_model.cpp index 75c851654d..b265e23631 100644 --- a/eeschema/dialogs/dialog_spice_model.cpp +++ b/eeschema/dialogs/dialog_spice_model.cpp @@ -95,7 +95,7 @@ static int getModelTypeIdx( char aPrimitive ) DIALOG_SPICE_MODEL::DIALOG_SPICE_MODEL( wxWindow* aParent, SCH_COMPONENT& aComponent, SCH_FIELDS* aFields ) : DIALOG_SPICE_MODEL_BASE( aParent ), m_component( aComponent ), m_schfields( aFields ), - m_useSchFields( true ), + m_libfields( nullptr ), m_useSchFields( true ), m_spiceEmptyValidator( true ), m_notEmptyValidator( wxFILTER_EMPTY ) { Init(); @@ -103,7 +103,7 @@ DIALOG_SPICE_MODEL::DIALOG_SPICE_MODEL( wxWindow* aParent, SCH_COMPONENT& aCompo DIALOG_SPICE_MODEL::DIALOG_SPICE_MODEL( wxWindow* aParent, SCH_COMPONENT& aComponent, LIB_FIELDS* aFields ) - : DIALOG_SPICE_MODEL_BASE( aParent ), m_component( aComponent ), + : DIALOG_SPICE_MODEL_BASE( aParent ), m_component( aComponent ), m_schfields( nullptr ), m_libfields( aFields ), m_useSchFields( false ), m_spiceEmptyValidator( true ), m_notEmptyValidator( wxFILTER_EMPTY ) { diff --git a/include/tool/coroutine.h b/include/tool/coroutine.h index 84552b2760..5ca5e273f8 100644 --- a/include/tool/coroutine.h +++ b/include/tool/coroutine.h @@ -137,6 +137,7 @@ public: m_running( false ), m_args( 0 ), m_callContext( nullptr ), + m_caller( nullptr ), m_callee( nullptr ), m_retVal( 0 ) { diff --git a/include/view/view_controls.h b/include/view/view_controls.h index fa374ed9ee..4f9f4f6db8 100644 --- a/include/view/view_controls.h +++ b/include/view/view_controls.h @@ -109,7 +109,8 @@ struct VC_SETTINGS class VIEW_CONTROLS { public: - VIEW_CONTROLS( VIEW* aView ) : m_view( aView ) + VIEW_CONTROLS( VIEW* aView ) : + m_view( aView ), m_cursorWarped( false ) { }