Skip to content

Commit

Permalink
Update a_star.cpp
Browse files Browse the repository at this point in the history
Remove need for void
  • Loading branch information
stevedanomodolor authored Oct 17, 2024
1 parent c0ac181 commit b18ba84
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 @@ -195,7 +195,6 @@ void AStarAlgorithm<Node2D>::setGoal(
const unsigned int & dim_3,
const GoalHeadingMode & /*goal_heading_mode*/)
{
(void) goal_heading_mode;
if (dim_3 != 0) {
throw std::runtime_error("Node type Node2D cannot be given non-zero goal dim 3.");
}
Expand Down

0 comments on commit b18ba84

Please sign in to comment.