diff --git a/decompiler/pipeline/controlflowanalysis/expression_simplification/rules/collect_terms.py b/decompiler/pipeline/controlflowanalysis/expression_simplification/rules/collect_terms.py index 65c077b82..6ce11d8cb 100644 --- a/decompiler/pipeline/controlflowanalysis/expression_simplification/rules/collect_terms.py +++ b/decompiler/pipeline/controlflowanalysis/expression_simplification/rules/collect_terms.py @@ -34,7 +34,7 @@ def apply(self, operation: Operation) -> list[tuple[Expression, Expression]]: identity_constant = _identity_constant(operation.operation, operation.type) return [ (first, folded_constant), - *((o, identity_constant) for o in rest) + *((constant, identity_constant) for constant in rest) ]