diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-08-21 08:27:40 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-08-23 09:35:27 +0200 |
| commit | 253547e35343aed844e7bcb033c610409fcbd21e (patch) | |
| tree | f57b90520b3c06edc8483979795d3de2e9a54d26 /miasm2/expression/simplifications_common.py | |
| parent | 46bb6b39453ea8b5abb04dfd62492e429376a8ea (diff) | |
| download | miasm-253547e35343aed844e7bcb033c610409fcbd21e.tar.gz miasm-253547e35343aed844e7bcb033c610409fcbd21e.zip | |
Code cleaning: lgtm.com
Diffstat (limited to 'miasm2/expression/simplifications_common.py')
| -rw-r--r-- | miasm2/expression/simplifications_common.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/miasm2/expression/simplifications_common.py b/miasm2/expression/simplifications_common.py index fa2370bd..5f947f8a 100644 --- a/miasm2/expression/simplifications_common.py +++ b/miasm2/expression/simplifications_common.py @@ -322,7 +322,6 @@ def simp_cst_propagation(e_s, expr): continue if stop > final_size: tmp = tmp[:tmp.size - (stop - final_size)] - stop = final_size filter_args.append(tmp) min_index = min(start, min_index) # create entry 0 @@ -347,7 +346,6 @@ def simp_cst_propagation(e_s, expr): continue if start < 0: tmp = tmp[-start:] - start = 0 filter_args.append(tmp) max_index = max(stop, max_index) # create entry 0 @@ -363,7 +361,6 @@ def simp_cst_propagation(e_s, expr): bound = tuple([tmp.size for tmp in arg.args]) bounds.add(bound) if len(bounds) == 1: - bound = list(bounds)[0] new_args = [[tmp] for tmp in args[0].args] for sub_arg in args[1:]: for i, tmp in enumerate(sub_arg.args): |