Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(autoware_behavior_velocity_run_out_module): fix unusedFunction #8669

Conversation

kobayu858
Copy link
Contributor

Description

This is a fix based on cppcheck unusedFunction warnings.

planning/behavior_velocity_planner/autoware_behavior_velocity_run_out_module/src/utils.cpp:138:0: style: The function 'haveSamePoint' is never used. [unusedFunction]
std::optional<size_t> haveSamePoint(
^

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Aug 29, 2024
Copy link

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@kobayu858 kobayu858 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 29, 2024
@kobayu858 kobayu858 requested a review from veqcc August 29, 2024 02:08
Copy link

codecov bot commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 24.16%. Comparing base (7011ea1) to head (f35f220).
Report is 49 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8669      +/-   ##
==========================================
- Coverage   24.19%   24.16%   -0.04%     
==========================================
  Files        1400     1404       +4     
  Lines      102131   102174      +43     
  Branches    38779    38778       -1     
==========================================
- Hits        24710    24687      -23     
- Misses      74917    74981      +64     
- Partials     2504     2506       +2     
Flag Coverage Δ *Carryforward flag
differential 17.72% <ø> (?)
total 24.17% <ø> (-0.03%) ⬇️ Carriedforward from 7011ea1

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@satoshi-ota satoshi-ota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@satoshi-ota satoshi-ota merged commit 93e4e7d into autowarefoundation:main Sep 3, 2024
41 checks passed
ktro2828 pushed a commit to ktro2828/autoware.universe that referenced this pull request Sep 18, 2024
…utowarefoundation#8669)

fix:unusedFunction

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
@kobayu858 kobayu858 deleted the fix/cppcheck_unusedFunction_pla-55 branch October 1, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants