diff options
author | iximeow <me@iximeow.net> | 2021-07-01 23:58:41 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-01 23:58:41 -0700 |
commit | ee9df27a910f10695df15332bd973fb5bfe422e2 (patch) | |
tree | 39c2c365136fef9937c4d23c93bb4a0dc3424f80 | |
parent | 03c70fa8062869bc82ae41e6b81998a1b8c70732 (diff) |
fix warnings
-rw-r--r-- | src/long_mode/mod.rs | 6 |
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() { |