From 78bfd25964206a1f0a34170fdd90ca1a8ce242db Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 3 Sep 2021 21:43:19 -0700 Subject: Fix all uninitialized variable warnings (C26495) --- Source/UnitTests/Core/MMIOTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/UnitTests/Core/MMIOTest.cpp') diff --git a/Source/UnitTests/Core/MMIOTest.cpp b/Source/UnitTests/Core/MMIOTest.cpp index 8ad127c65f..9bcd2af135 100644 --- a/Source/UnitTests/Core/MMIOTest.cpp +++ b/Source/UnitTests/Core/MMIOTest.cpp @@ -67,7 +67,7 @@ class MappingTest : public testing::Test protected: virtual void SetUp() override { m_mapping = new MMIO::Mapping(); } virtual void TearDown() override { delete m_mapping; } - MMIO::Mapping* m_mapping; + MMIO::Mapping* m_mapping = nullptr; }; TEST_F(MappingTest, ReadConstant) -- cgit v1.2.3