Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_sync_freertos: Handle nodiscard return value
Ignoring the return values of types annotated with [[nodiscard]] attribute creates a warning in newer versions of Clang. Adding local variables to handle the return values. Bug: 366374135 Change-Id: I59983e71acba0004619dffdef6be41a87b85cab7 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/256695 Reviewed-by: Leonard Chan <[email protected]> Reviewed-by: Aaron Green <[email protected]> Commit-Queue: Prabhu Karthikeyan Rajasekaran <[email protected]> Docs-Not-Needed: Aaron Green <[email protected]> Lint: Lint 🤖 <[email protected]>
- Loading branch information