Skip to content

Commit

Permalink
fix(behavior_path_planner): fix redundantIfRemove warning (#7544)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryuta Kambe <[email protected]>
  • Loading branch information
veqcc authored and KhalilSelyan committed Jul 22, 2024
1 parent d87748c commit bcb0801
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,7 @@ std::optional<TurnSignalInfo> TurnSignalDecider::getIntersectionTurnSignalInfo(

if (dist_to_back_point < 0.0) {
// Vehicle is already passed this lane
if (desired_start_point_map_.find(lane_id) != desired_start_point_map_.end()) {
desired_start_point_map_.erase(lane_id);
}
desired_start_point_map_.erase(lane_id);
continue;
} else if (search_distance <= dist_to_front_point) {
continue;
Expand Down

0 comments on commit bcb0801

Please sign in to comment.