diff --git a/Source/Core/Common/CodeBlock.h b/Source/Core/Common/CodeBlock.h index 1666f270a4..643c5c0e25 100644 --- a/Source/Core/Common/CodeBlock.h +++ b/Source/Core/Common/CodeBlock.h @@ -23,21 +23,15 @@ private: virtual void PoisonMemory() = 0; protected: - u8* region; - size_t region_size; - size_t parent_region_size; + u8* region = nullptr; + size_t region_size = 0; + size_t parent_region_size = 0; - bool m_has_child; - bool m_is_child; - CodeBlock* m_child; + bool m_has_child = false; + bool m_is_child = false; + CodeBlock* m_child = nullptr; public: - CodeBlock() - : region(nullptr), region_size(0), parent_region_size(0), m_has_child(false), - m_is_child(false), m_child(nullptr) - { - } - virtual ~CodeBlock() { if (region)