Skip to content

Commit

Permalink
Rename variable in simplify_redundant_reference.py for readability
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel Blatt <[email protected]>
  • Loading branch information
rihi and blattm authored Sep 20, 2023
1 parent 8ddd6a1 commit 4f318ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def apply(self, operation: Operation) -> list[tuple[Expression, Expression]]:
match operation:
case UnaryOperation(
operation=OperationType.dereference,
operand=UnaryOperation(operation=OperationType.address, operand=operand)
operand=UnaryOperation(operation=OperationType.address, operand=inner_operand)
):
return [(operation, operand)]
return [(operation, inner_operand)]
case _:
return []

0 comments on commit 4f318ec

Please sign in to comment.