From d5a377626477886cefed7dec20671416c970728f Mon Sep 17 00:00:00 2001 From: stevedan Date: Mon, 18 Nov 2024 19:38:10 +0100 Subject: [PATCH] dont need to break after throw Signed-off-by: stevedan --- nav2_smac_planner/src/a_star.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/nav2_smac_planner/src/a_star.cpp b/nav2_smac_planner/src/a_star.cpp index ba8052132f..cfff36adf9 100644 --- a/nav2_smac_planner/src/a_star.cpp +++ b/nav2_smac_planner/src/a_star.cpp @@ -257,7 +257,6 @@ void AStarAlgorithm::setGoal( break; case GoalHeadingMode::UNKNOWN: throw std::runtime_error("Goal heading is UNKNOWN."); - break; } // we just have to check whether the x and y are the same because the dim3 is not used