From d91b2d1443c6ba4e850023032d4e93beab820fdc Mon Sep 17 00:00:00 2001 From: iximeow Date: Tue, 18 Jun 2024 22:50:22 -0700 Subject: more unused arguments --- src/long_mode/display.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/long_mode') diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs index 355cbc7..10ceb89 100644 --- a/src/long_mode/display.rs +++ b/src/long_mode/display.rs @@ -5802,12 +5802,12 @@ impl Instruction { } pub fn write_to(&self, out: &mut T) -> fmt::Result { - contextualize_intel(self, 0, Some(&NoContext), out) + contextualize_intel(self, out) // self.display_with(DisplayStyle::Intel).contextualize(&NoColors, 0, Some(&NoContext), out) } } -fn contextualize_intel(instr: &Instruction, _address: u64, _context: Option<&NoContext>, out: &mut T) -> fmt::Result { +fn contextualize_intel(instr: &Instruction, out: &mut T) -> fmt::Result { if instr.xacquire() { out.write_fixed_size("xacquire ")?; } @@ -6260,7 +6260,7 @@ impl <'instr, T: fmt::Write, Y: YaxColors> ShowContextual }; let mut out = &mut out; - contextualize_intel(instr, address, context, out) + contextualize_intel(instr, out) } DisplayStyle::C => { contextualize_c(instr, address, context, out) -- cgit v1.1