From 9c60b624730b0a76840c180b003fa336ccb20970 Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Wed, 1 Jul 2020 09:17:43 +0200 Subject: [PATCH] arch.py: remove unused instruction (#800) --- pwndbg/disasm/arch.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pwndbg/disasm/arch.py b/pwndbg/disasm/arch.py index 3fa4a9782..e4e65d5f0 100644 --- a/pwndbg/disasm/arch.py +++ b/pwndbg/disasm/arch.py @@ -199,8 +199,6 @@ class DisassemblyAssistant(object): operand.symbol: Resolved symbol name for this operand. """ - current = (instruction.address == pwndbg.regs.pc) - for i, op in enumerate(instruction.operands): op.int = None op.symbol = None