diff --git a/src/menus/DisassemblyContextMenu.cpp b/src/menus/DisassemblyContextMenu.cpp index c2065c9d..15e23f8c 100644 --- a/src/menus/DisassemblyContextMenu.cpp +++ b/src/menus/DisassemblyContextMenu.cpp @@ -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"]) {