-
Notifications
You must be signed in to change notification settings - Fork 630
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(diagnostic_graph_aggregator): fix cppcheck warning of functionStatic #8266
fix(diagnostic_graph_aggregator): fix cppcheck warning of functionStatic #8266
Conversation
Signed-off-by: taisa1 <kento.osa@tier4.jp>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8266 +/- ##
==========================================
- Coverage 29.29% 29.14% -0.16%
==========================================
Files 1609 1607 -2
Lines 119415 117391 -2024
Branches 51481 50504 -977
==========================================
- Hits 34988 34213 -775
+ Misses 75118 74004 -1114
+ Partials 9309 9174 -135
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This function is prepared for future implementation. Since I plan to update member variables, please leave it as it is. |
Signed-off-by: taisa1 <kento.osa@tier4.jp>
I understand. To avoid it remaining as a warning, I changed it to suppress a warning with an inline comment. Could you check this? @isamu-takagi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…tic (autowarefoundation#8266) * fix: deal with functionStatic warning Signed-off-by: taisa1 <kento.osa@tier4.jp> * suppress warning by comment Signed-off-by: taisa1 <kento.osa@tier4.jp> --------- Signed-off-by: taisa1 <kento.osa@tier4.jp>
…tic (autowarefoundation#8266) * fix: deal with functionStatic warning Signed-off-by: taisa1 <kento.osa@tier4.jp> * suppress warning by comment Signed-off-by: taisa1 <kento.osa@tier4.jp> --------- Signed-off-by: taisa1 <kento.osa@tier4.jp> Signed-off-by: xtk8532704 <1041084556@qq.com>
Description
This is a fix based on cppcheck warning
functionStatic
.Related links
How was this PR tested?
Only checked if build succeeded.
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.