From 4655aa02f88eb259fd0e4cec5deb51dc5646d0ae Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 20 Apr 2020 12:35:57 +1000 Subject: [PATCH] CPU/CodeCache: Fix uninitialized pointers --- src/core/cpu_code_cache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/cpu_code_cache.h b/src/core/cpu_code_cache.h index 4dd264782..90abf06aa 100644 --- a/src/core/cpu_code_cache.h +++ b/src/core/cpu_code_cache.h @@ -133,9 +133,9 @@ private: void InterpretCachedBlock(const CodeBlock& block); void InterpretUncachedBlock(); - System* m_system; - Core* m_core; - Bus* m_bus; + System* m_system = nullptr; + Core* m_core = nullptr; + Bus* m_bus = nullptr; #ifdef WITH_RECOMPILER std::unique_ptr m_code_buffer;