diff --git a/evrouting/charge/routing.py b/evrouting/charge/routing.py
index 37ce5747909ab3ed55a278ba63452a5796996a39..af83a3fbd87375d25b8190f79f8abc09197ff0eb 100644
--- a/evrouting/charge/routing.py
+++ b/evrouting/charge/routing.py
@@ -39,7 +39,6 @@ def shortest_path(G: nx.Graph, charging_stations: Set[Node], s: Node, t: Node,
 
     :return:
     """
-    actual_t: Node = t
     t, factories, queues = _setup(
         G, charging_stations, capacity, initial_soc, final_soc, s, t
     )