mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Fix all uninitialized variable warnings (C26495)
This commit is contained in:
@ -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)
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
void* m_data;
|
||||
void* m_data = nullptr;
|
||||
std::chrono::time_point<std::chrono::high_resolution_clock> m_pre_unprotect_time,
|
||||
m_post_unprotect_time;
|
||||
};
|
||||
|
Reference in New Issue
Block a user