Skip to content

Commit

Permalink
Remove unique_name global (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin authored Nov 1, 2024
1 parent 798c07c commit 8662617
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions claripy/ast/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ class ReprLevel(IntEnum):
#

var_counter = itertools.count()
_unique_names = True


def _make_name(name: str, size: int, explicit_name: bool = False, prefix: str = "") -> str:
if _unique_names and not explicit_name:
if not explicit_name:
return "%s%s_%d_%d" % (prefix, name, next(var_counter), size)
return name

Expand Down

0 comments on commit 8662617

Please sign in to comment.