diff --git a/common/api/api_plugin_manager.cpp b/common/api/api_plugin_manager.cpp index d5066537de..2b3d3fdf43 100644 --- a/common/api/api_plugin_manager.cpp +++ b/common/api/api_plugin_manager.cpp @@ -44,7 +44,9 @@ wxDEFINE_EVENT( EDA_EVT_PLUGIN_AVAILABILITY_CHANGED, wxCommandEvent ); API_PLUGIN_MANAGER::API_PLUGIN_MANAGER( wxEvtHandler* aEvtHandler ) : wxEvtHandler(), - m_parent( aEvtHandler ) + m_parent( aEvtHandler ), + m_lastPid( 0 ), + m_raiseTimer( nullptr ) { // Read and store pcm schema wxFileName schemaFile( PATHS::GetStockDataPath( true ), wxS( "api.v1.schema.json" ) ); diff --git a/common/locale_io.cpp b/common/locale_io.cpp index ce3721ee8a..baca6c4a90 100644 --- a/common/locale_io.cpp +++ b/common/locale_io.cpp @@ -80,7 +80,8 @@ void KiAssertFilter( const wxString &file, int line, // allow for nesting of LOCALE_IO instantiations static std::atomic locale_count( 0 ); -LOCALE_IO::LOCALE_IO() +LOCALE_IO::LOCALE_IO() : + m_wxLocale( nullptr ) { // use thread safe, atomic operation if( locale_count++ == 0 ) diff --git a/include/api/api_plugin_manager.h b/include/api/api_plugin_manager.h index d874d80b5a..6fa530daaf 100644 --- a/include/api/api_plugin_manager.h +++ b/include/api/api_plugin_manager.h @@ -103,4 +103,7 @@ private: std::deque m_jobs; std::unique_ptr m_schema_validator; + + [[maybe_unused]] long m_lastPid; + [[maybe_unused]] wxTimer* m_raiseTimer; };