‘memDisp’ may be used uninitialized (#2920)

This commit is contained in:
Giovanni 2022-03-31 19:34:34 +02:00 committed by Anton Kochkov
parent ae2ad5d50c
commit f8744d12c2

View File

@ -489,7 +489,7 @@ void DisassemblyContextMenu::aboutToShowSlot()
// Create structure offset menu if it makes sense
QString memBaseReg; // Base register
st64 memDisp; // Displacement
st64 memDisp = 0; // Displacement
// Loop through both the operands of the instruction
for (const CutterJson operand : instObject["opex"]["operands"]) {