about summary refs log tree commit diff stats
path: root/miasm2/jitter/jitload.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-08-29 16:27:06 +0200
committerGitHub <noreply@github.com>2018-08-29 16:27:06 +0200
commit7c0d412120abbcfaa51fdb1dd231a27595c873ed (patch)
tree43226fee7292a9a4912ea1d3d0d9728d2aefbcfd /miasm2/jitter/jitload.py
parent86e458d488b02bf3479f9c5a42bb56de23c3ea80 (diff)
parent253547e35343aed844e7bcb033c610409fcbd21e (diff)
downloadmiasm-7c0d412120abbcfaa51fdb1dd231a27595c873ed.tar.gz
miasm-7c0d412120abbcfaa51fdb1dd231a27595c873ed.zip
Merge pull request #828 from serpilliere/fix_lgtm_1
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