autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
964 stars 630 forks source link

fix(tier4_state_rviz_plugin): fix unusedFunction #8841

Closed kobayu858 closed 2 weeks ago

kobayu858 commented 2 weeks ago

Description

This is a fix based on cppcheck unusedFunction warnings. Preparation for future CI changes.

common/tier4_state_rviz_plugin/src/autoware_state_panel.cpp:27:0: style: The function 'Bool2String' is never used. [unusedFunction]
inline std::string Bool2String(const bool var)
^

Related links

Parent Issue:

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

github-actions[bot] commented 2 weeks ago

Thank you for contributing to the Autoware project!

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

Please ensure:

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 27.80%. Comparing base (1fcddda) to head (f76a63f). Report is 10 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #8841 +/- ## ========================================== + Coverage 27.78% 27.80% +0.02% ========================================== Files 1325 1325 Lines 98846 98850 +4 Branches 39673 39682 +9 ========================================== + Hits 27463 27489 +26 - Misses 71253 71302 +49 + Partials 130 59 -71 ``` | [Flag](https://app.codecov.io/gh/autowarefoundation/autoware.universe/pull/8841/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | Coverage Δ | | *Carryforward flag | |---|---|---|---| | [differential](https://app.codecov.io/gh/autowarefoundation/autoware.universe/pull/8841/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | `0.00% <ø> (?)` | | | | [total](https://app.codecov.io/gh/autowarefoundation/autoware.universe/pull/8841/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | `27.81% <ø> (+0.02%)` | :arrow_up: | Carriedforward from [0401a36](https://app.codecov.io/gh/autowarefoundation/autoware.universe/commit/0401a3636989a618626e7be9a7ada0ab99db27f8?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | *This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.