Fix uninitialized variable warnings (C26495)

This commit is contained in:
Pokechu22
2023-02-15 19:18:39 -08:00
parent 089eab96d7
commit 8802f96b7e
30 changed files with 182 additions and 180 deletions

View File

@ -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; }