Skip to content

Commit b0e40f8

Browse files
author
M. Fatih Cırıt
committed
add braces to the empty loop body
Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
1 parent f223a05 commit b0e40f8

File tree

1 file changed

+2
-1
lines changed
  • planning/sampling_based_planner/autoware_path_sampler/src

1 file changed

+2
-1
lines changed

Diff for: planning/sampling_based_planner/autoware_path_sampler/src/node.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ std::vector<autoware::sampler_common::Path> PathSampler::generateCandidatesFromP
423423
size_t reuse_idx = 0;
424424
for (reuse_idx = 0; reuse_idx + 1 < prev_path_->lengths.size() &&
425425
prev_path_->lengths[reuse_idx] < reuse_length;
426-
++reuse_idx);
426+
++reuse_idx) {
427+
}
427428
if (reuse_idx == 0UL) continue;
428429
const auto reused_path = *prev_path_->subset(0UL, reuse_idx);
429430
reuse_state.curvature = reused_path.curvatures.back();

0 commit comments

Comments
 (0)