diff --git a/src/engine/routing_algorithms/many_to_many_mld.cpp b/src/engine/routing_algorithms/many_to_many_mld.cpp index 0949c74885..b9168508b1 100644 --- a/src/engine/routing_algorithms/many_to_many_mld.cpp +++ b/src/engine/routing_algorithms/many_to_many_mld.cpp @@ -222,7 +222,6 @@ oneToManySearch(SearchEngineData &engine_working_data, std::vector durations_table(target_indices.size(), MAXIMAL_EDGE_DURATION); std::vector distances_table(calculate_distance ? target_indices.size() : 0, MAXIMAL_EDGE_DISTANCE); - std::vector middle_nodes_table(target_indices.size(), SPECIAL_NODEID); // Collect destination (source) nodes into a map std::unordered_multimap> @@ -307,7 +306,6 @@ oneToManySearch(SearchEngineData &engine_working_data, weights_table[index] = path_weight; durations_table[index] = path_duration; current_distance = path_distance; - middle_nodes_table[index] = node; } // Remove node from destinations list