Skip to content

fix(autoware_compare_map_segmentation): fix uninitMemberVar #8338

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

Conversation

kobayu858
Copy link
Contributor

Description

This is a fix based on cppcheck uninitMemberVar warnings.

perception/autoware_compare_map_segmentation/src/voxel_grid_map_loader/voxel_grid_map_loader.cpp:19:21: warning: Member variable 'VoxelGridMapLoader::voxel_leaf_size_z_' is not initialized in the constructor. [uninitMemberVar]
VoxelGridMapLoader::VoxelGridMapLoader(
                    ^

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 Aug 2, 2024
Copy link

github-actions bot commented Aug 2, 2024

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 August 2, 2024 08:32
@kobayu858 kobayu858 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 2, 2024
Copy link

codecov bot commented Aug 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (3d849e9) to head (13c3374).
Report is 977 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #8338       +/-   ##
==========================================
- Coverage   15.09%   0.00%   -15.10%     
==========================================
  Files        1967      92     -1875     
  Lines      135941    6494   -129447     
  Branches    42122     771    -41351     
==========================================
- Hits        20520       0    -20520     
+ Misses      92700    6494    -86206     
+ Partials    22721       0    -22721     
Flag Coverage Δ
differential 0.00% <ø> (?)
total ?

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

@kobayu858 kobayu858 merged commit e01f853 into autowarefoundation:main Aug 5, 2024
38 of 39 checks passed
@kobayu858 kobayu858 deleted the fix/cppcheck_uninitMemberVar_per-1 branch August 13, 2024 06:19
esteve pushed a commit to esteve/autoware_universe that referenced this pull request Aug 13, 2024
…foundation#8338)

fix:uninitMemberVar

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.

2 participants