From 425a46fe7885ba3fec292e411487bdd5b9c64722 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Thu, 1 Feb 2018 14:15:46 +0000 Subject: [PATCH] Fix warnings in unit tests --- unit_tests/library/match.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/unit_tests/library/match.cpp b/unit_tests/library/match.cpp index 972fcf0d6..1a398b3c2 100644 --- a/unit_tests/library/match.cpp +++ b/unit_tests/library/match.cpp @@ -99,11 +99,6 @@ BOOST_AUTO_TEST_CASE(test_match_split) waypoint_object.values.at("matchings_index").get().value; const auto waypoint_index = waypoint_object.values.at("waypoint_index").get().value; - const auto &route_legs = matchings[matchings_index] - .get() - .values.at("legs") - .get() - .values; BOOST_CHECK_LT(matchings_index, number_of_matchings);