mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Fix uninitialized variable warnings (C26495)
This commit is contained in:
@ -484,12 +484,14 @@ public:
|
||||
m_width = WidthSpecifier::Width64Bit;
|
||||
if (shift == 64)
|
||||
m_shift = 0;
|
||||
m_extend = ExtendSpecifier::UXTX;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_width = WidthSpecifier::Width32Bit;
|
||||
if (shift == 32)
|
||||
m_shift = 0;
|
||||
m_extend = ExtendSpecifier::UXTW;
|
||||
}
|
||||
}
|
||||
ARM64Reg GetReg() const { return m_destReg; }
|
||||
|
@ -31,7 +31,7 @@ struct InstructionAttributes
|
||||
|
||||
struct TraceOutput
|
||||
{
|
||||
u32 address;
|
||||
u32 address = 0;
|
||||
std::optional<u32> memory_target = std::nullopt;
|
||||
std::string instruction;
|
||||
};
|
||||
|
@ -160,8 +160,8 @@ public:
|
||||
return GetSystemTimeFAT();
|
||||
}
|
||||
|
||||
File::IOFile* m_image;
|
||||
bool m_deterministic;
|
||||
File::IOFile* m_image = nullptr;
|
||||
bool m_deterministic = false;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
Reference in New Issue
Block a user