Remove unused local variable

This commit is contained in:
Eren Dogan 2023-12-05 11:18:58 -08:00
parent 39a66fcb87
commit 7531e38cad
1 changed files with 0 additions and 2 deletions

View File

@ -257,7 +257,6 @@ class router(router_tech):
the layout.
"""
last_added = path[0]
nodes = [path[0]]
direction = path[0].get_direction(path[1])
candidate = path[1]
@ -269,7 +268,6 @@ class router(router_tech):
if direction == current_direction:
candidate = node
else:
last_added = candidate
nodes.append(candidate)
direction = current_direction
candidate = node