summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core/MMIOTest.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-09-03 21:43:19 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-10-13 12:32:16 -0700
commit78bfd25964206a1f0a34170fdd90ca1a8ce242db (patch)
tree93aeabec56ac75e8d88baeb6f78e27840d09dead /Source/UnitTests/Core/MMIOTest.cpp
parent525e6b21943b09172043797535db6a2890c45805 (diff)
Fix all uninitialized variable warnings (C26495)
Diffstat (limited to 'Source/UnitTests/Core/MMIOTest.cpp')
-rw-r--r--Source/UnitTests/Core/MMIOTest.cpp2
1 files changed, 1 insertions, 1 deletions
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)