mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-04 08:35:55 +00:00
Fix uninitialized variable warnings (C26495)
This commit is contained in:
parent
089eab96d7
commit
8802f96b7e
30 changed files with 182 additions and 180 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue