about summary refs log tree commit diff stats
path: root/miasm2/jitter/jitload.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-08-21 08:27:40 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-08-23 09:35:27 +0200
commit253547e35343aed844e7bcb033c610409fcbd21e (patch)
treef57b90520b3c06edc8483979795d3de2e9a54d26 /miasm2/jitter/jitload.py
parent46bb6b39453ea8b5abb04dfd62492e429376a8ea (diff)
downloadmiasm-253547e35343aed844e7bcb033c610409fcbd21e.tar.gz
miasm-253547e35343aed844e7bcb033c610409fcbd21e.zip
Code cleaning: lgtm.com
Diffstat (limited to '')
-rw-r--r--miasm2/jitter/jitload.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/miasm2/jitter/jitload.py b/miasm2/jitter/jitload.py
index 39ca3d56..89f5bada 100644
--- a/miasm2/jitter/jitload.py
+++ b/miasm2/jitter/jitload.py
@@ -2,12 +2,11 @@
 import logging
 import warnings
 from functools import wraps
-from collections import Sequence, namedtuple, Iterator
+from collections import Sequence, namedtuple
 
 from miasm2.jitter.csts import *
 from miasm2.core.utils import *
 from miasm2.core.bin_stream import bin_stream_vm
-from miasm2.core.interval import interval
 from miasm2.jitter.emulatedsymbexec import EmulatedSymbExec
 from miasm2.jitter.codegen import CGen
 from miasm2.jitter.jitcore_cc_base import JitCore_Cc_Base
@@ -131,7 +130,6 @@ class CallbackHandlerBitflag(CallbackHandler):
         callbacks return True, continue with next callback.
         Iterator on other results"""
 
-        res = True
         for bitflag_expected in self.callbacks:
             if bitflag_expected & bitflag == bitflag_expected:
                 # If the flag matched