mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
‘memDisp’ may be used uninitialized (#2920)
This commit is contained in:
parent
62d75c9391
commit
e3a01d3780
@ -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"]) {
|
||||
|
Loading…
Reference in New Issue
Block a user