Index: src/ch/MemDC.h =================================================================== diff -u -N -rc435ab507c8b8280264188b49e9ada56d46c0261 -r3432ca77e8f6d67bf0de4e0dfa36cf89705ae853 --- src/ch/MemDC.h (.../MemDC.h) (revision c435ab507c8b8280264188b49e9ada56d46c0261) +++ src/ch/MemDC.h (.../MemDC.h) (revision 3432ca77e8f6d67bf0de4e0dfa36cf89705ae853) @@ -49,7 +49,6 @@ class CMemDC : public CDC { public: - // constructor sets up the memory DC CMemDC(CDC* pDC, LPCRECT lpSrcRect) : CDC() { @@ -97,10 +96,10 @@ private: CBitmap m_bitmap; // Offscreen bitmap - CBitmap* m_pOldBitmap; // bitmap originally found in BCMenuMemDC - CDC* m_pDC; // Saves CDC passed in constructor + CBitmap* m_pOldBitmap = nullptr; // bitmap originally found in BCMenuMemDC + CDC* m_pDC = nullptr; // Saves CDC passed in constructor CRect m_rect; // Rectangle of drawing area. - BOOL m_bMemDC; // TRUE if CDC really is a Memory DC. + BOOL m_bMemDC = FALSE; // TRUE if CDC really is a Memory DC. }; #endif \ No newline at end of file Index: src/libictranslate/cfg.h =================================================================== diff -u -N -ra27d1acf1bda3c25b6dcce0d0eb0278009ce63ae -r3432ca77e8f6d67bf0de4e0dfa36cf89705ae853 --- src/libictranslate/cfg.h (.../cfg.h) (revision a27d1acf1bda3c25b6dcce0d0eb0278009ce63ae) +++ src/libictranslate/cfg.h (.../cfg.h) (revision 3432ca77e8f6d67bf0de4e0dfa36cf89705ae853) @@ -170,11 +170,11 @@ void property_changed_notify(unsigned int uiPropID); ///< Calls the callback function to notify about the property value change protected: CCriticalSection m_lock; ///< Lock for the multi-threaded access to the properties - void* m_hProps; ///< Handle to the registered property storage - config_base* m_pCfgBase; ///< Underlying base for this class - wchar_t* m_pszCurrentPath; ///< Current path (one specified when reading the file) - PFNPROPERTYCHANGED m_pfnNotifyCallback; ///< Function to be called when property changes - void* m_pCallbackParam; ///< User-defined parameter to pass to the callback function + void* m_hProps = nullptr; ///< Handle to the registered property storage + config_base* m_pCfgBase = nullptr; ///< Underlying base for this class + wchar_t* m_pszCurrentPath = nullptr; ///< Current path (one specified when reading the file) + PFNPROPERTYCHANGED m_pfnNotifyCallback = nullptr; ///< Function to be called when property changes + void* m_pCallbackParam = nullptr; ///< User-defined parameter to pass to the callback function }; #endif