diff options
author | iximeow <me@iximeow.net> | 2024-06-18 22:50:22 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-06-18 22:51:31 -0700 |
commit | d91b2d1443c6ba4e850023032d4e93beab820fdc (patch) | |
tree | a4b3691e765acf033753957a3e9c5b2a8cbcd49a /src/long_mode | |
parent | e904f613a29a5e3edfe20991b38356e77c857ba9 (diff) |
more unused arguments
Diffstat (limited to 'src/long_mode')
-rw-r--r-- | src/long_mode/display.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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<T: DisplaySink>(&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<T: DisplaySink>(instr: &Instruction, _address: u64, _context: Option<&NoContext>, out: &mut T) -> fmt::Result { +fn contextualize_intel<T: DisplaySink>(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<u64, NoContext, T, Y> }; let mut out = &mut out; - contextualize_intel(instr, address, context, out) + contextualize_intel(instr, out) } DisplayStyle::C => { contextualize_c(instr, address, context, out) |