summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2024-02-29 14:44:41 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2024-03-01 17:03:27 -0500
commita08f74cc211457c671d9bd168af467558ea69599 (patch)
tree57bd31a6cfd4a1d4424e95de44cadc820a47a4c6 /rust/src
parentd88b4409f0398093dea0f306cb267e7f24011062 (diff)
Clean up some warnings
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/llil/instruction.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/rust/src/llil/instruction.rs b/rust/src/llil/instruction.rs
index 04673ab0..469c10fb 100644
--- a/rust/src/llil/instruction.rs
+++ b/rust/src/llil/instruction.rs
@@ -96,8 +96,6 @@ where
V: NonSSAVariant,
{
pub fn address(&self) -> u64 {
- use binaryninjacore_sys::BNLowLevelILOperation::*;
-
let expr_idx =
unsafe { BNGetLowLevelILIndexForInstruction(self.function.handle, self.instr_idx) };
let op = unsafe { BNGetLowLevelILByIndex(self.function.handle, expr_idx) };