From 1ead4cbb140cb3143910c85d34dcd5273f983cdf Mon Sep 17 00:00:00 2001 From: Johan Uhle Date: Thu, 1 Oct 2015 12:26:42 +0200 Subject: [PATCH] osrm-components: remove unused param We don't use restrictions anymore --- tools/components.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/components.cpp b/tools/components.cpp index 59de7e22b..ca55b0ebc 100644 --- a/tools/components.cpp +++ b/tools/components.cpp @@ -130,14 +130,12 @@ int main(int argc, char *argv[]) try { // enable logging - if (argc < 3) + if (argc < 2) { SimpleLogger().Write(logWARNING) << "usage:\n" << argv[0] << " "; return -1; } - SimpleLogger().Write() << "Using restrictions from file: " << argv[2]; - std::vector graph_edge_list; auto number_of_nodes = LoadGraph(argv[1], coordinate_list, graph_edge_list);