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(tracking_object_merger): fix shadowVariable #7948

Conversation

kobayu858
Copy link
Contributor

Description

This is a fix based on cppcheck shadowVariable warnings

perception/tracking_object_merger/src/association/solver/successive_shortest_path.cpp:331:14: style: Local variable 'v' shadows outer variable [shadowVariable]
    for (int v = 0; v < n_nodes; ++v) {
             ^

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:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Jul 10, 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 requested a review from veqcc July 10, 2024 10:59
@kobayu858 kobayu858 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 10, 2024
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.76%. Comparing base (a39cfb7) to head (66f3896).
Report is 16 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7948   +/-   ##
=======================================
  Coverage   28.75%   28.76%           
=======================================
  Files        1594     1594           
  Lines      116892   116852   -40     
  Branches    50050    50050           
=======================================
- Hits        33616    33615    -1     
+ Misses      74178    74139   -39     
  Partials     9098     9098           
Flag Coverage Δ *Carryforward flag
differential 0.00% <ø> (?)
total 28.76% <ø> (+0.01%) ⬆️ Carriedforward from a39cfb7

*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

@technolojin technolojin left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@yukkysaito yukkysaito left a comment

Choose a reason for hiding this comment

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

LGTM

@kobayu858 kobayu858 merged commit f388b54 into autowarefoundation:main Jul 11, 2024
38 of 39 checks passed
@kobayu858 kobayu858 deleted the fix/cppcheck_shadowVariable_per-14 branch July 12, 2024 07:07
Ariiees pushed a commit to Ariiees/autoware.universe that referenced this pull request Jul 22, 2024
)

fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. (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.

3 participants