-
Notifications
You must be signed in to change notification settings - Fork 2.3k
nodiscard ChipError Batch #21: platform-specific src: controller, android #42084
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
|
Warning Gemini encountered an error creating the review. You can try again by commenting |
|
PR #42084: Size comparison from 4859b93 to 899e64b Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
|
|
/gemini review |
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.
Code Review
This pull request is part of a larger effort to handle ignored ChipError return values by adding [[nodiscard]] and then using TEMPORARY_RETURN_IGNORED to suppress warnings. The changes are mostly mechanical and correct.
However, I've identified several places where simply ignoring the return value can lead to bugs, such as crashes or deadlocks. In these cases, the error should be properly handled. I've provided suggestions to fix these issues. Please review them and consider applying the fixes.
|
|
Summary
Batch 21 of ignored ChipError for #41629
Related issues
#41629
Testing
CI
Readability checklist
The checklist below will help the reviewer finish PR review in time and keep the
code readable:
descriptive
“When in Rome…”
rule (coding style)
See: Pull Request Guidelines