about summary refs log tree commit diff stats
path: root/miasm2/core/asmblock.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-09-11 08:33:18 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-09-20 07:44:31 +0200
commit846d316efab8b8b654eee58b952cdf1ba2d3eb42 (patch)
tree217e8f5b825ad11c224d016a6d54b9224337b5f6 /miasm2/core/asmblock.py
parent2f9139cbc737978d7308496bb8249a99431320e7 (diff)
downloadmiasm-846d316efab8b8b654eee58b952cdf1ba2d3eb42.tar.gz
miasm-846d316efab8b8b654eee58b952cdf1ba2d3eb42.zip
Code cleaning: lgtm.com
Diffstat (limited to 'miasm2/core/asmblock.py')
-rw-r--r--miasm2/core/asmblock.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/miasm2/core/asmblock.py b/miasm2/core/asmblock.py
index 2f336617..97113be1 100644
--- a/miasm2/core/asmblock.py
+++ b/miasm2/core/asmblock.py
@@ -169,7 +169,6 @@ class AsmBlock(object):
     def split(self, loc_db, offset):
         loc_key = loc_db.get_or_create_offset_location(offset)
         log_asmblock.debug('split at %x', offset)
-        i = -1
         offsets = [x.offset for x in self.lines]
         offset = loc_db.get_location_offset(loc_key)
         if offset not in offsets: