mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 12:26:11 +00:00
‘memDisp’ may be used uninitialized (#2920)
This commit is contained in:
parent
ae2ad5d50c
commit
f8744d12c2
@ -489,7 +489,7 @@ void DisassemblyContextMenu::aboutToShowSlot()
|
|||||||
|
|
||||||
// Create structure offset menu if it makes sense
|
// Create structure offset menu if it makes sense
|
||||||
QString memBaseReg; // Base register
|
QString memBaseReg; // Base register
|
||||||
st64 memDisp; // Displacement
|
st64 memDisp = 0; // Displacement
|
||||||
|
|
||||||
// Loop through both the operands of the instruction
|
// Loop through both the operands of the instruction
|
||||||
for (const CutterJson operand : instObject["opex"]["operands"]) {
|
for (const CutterJson operand : instObject["opex"]["operands"]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user