aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/long_mode/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 65b1a35..861160a 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -7163,9 +7163,9 @@ fn read_operands<T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpe
let operand_code = OperandCodeBuilder::from_bits(operand_code as u16);
if operand_code.is_only_modrm_operands() {
- let mut modrm = 0;
- let mut opwidth = 0;
- let mut mem_oper = OperandSpec::Nothing;
+ let modrm;
+ let opwidth;
+ let mem_oper;
let mut bank = RegisterBank::Q;
// cool! we can precompute opwidth and know we need to read_E.
if !operand_code.has_byte_operands() {