Skip to content

Fix nodiscard warnings#30

Merged
cleishm merged 1 commit intomainfrom
fix/no-discard
Mar 24, 2026
Merged

Fix nodiscard warnings#30
cleishm merged 1 commit intomainfrom
fix/no-discard

Conversation

@cleishm
Copy link
Copy Markdown
Owner

@cleishm cleishm commented Mar 24, 2026

Remove [[nodiscard]] from queue receive() methods since consuming without using the value is legitimate. Cast unused get_value() return in NVS example where it's called only to verify the exception path.

Remove [[nodiscard]] from queue receive() methods since consuming
without using the value is legitimate. Cast unused get_value() return
in NVS example where it's called only to verify the exception path.
@cleishm cleishm merged commit 871685c into main Mar 24, 2026
34 checks passed
@cleishm cleishm deleted the fix/no-discard branch March 24, 2026 16:57
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.

1 participant