Skip to content

Commit

Permalink
dont need to break after throw
Browse files Browse the repository at this point in the history
Signed-off-by: stevedan <[email protected]>
  • Loading branch information
stevedanomodolor committed Nov 18, 2024
1 parent e06f1db commit d5a3776
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nav2_smac_planner/src/a_star.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ void AStarAlgorithm<NodeT>::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
Expand Down

0 comments on commit d5a3776

Please sign in to comment.