Skip to content

Conversation

@mizdebsk
Copy link
Member

Add nodiscard to functions returning values that should not be ignored, such as accessors and lock wrappers. This helps prevent subtle bugs by alerting developers when important return values are discarded.

Add nodiscard to functions returning values that should not be
ignored, such as accessors and lock wrappers.  This helps prevent
subtle bugs by alerting developers when important return values are
discarded.
@mkoncek mkoncek merged commit f3775cb into fedora-java:main Jul 22, 2025
1 check passed
@mizdebsk mizdebsk deleted the pr/25 branch July 22, 2025 16:34
mkoncek added a commit that referenced this pull request Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants