Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_multisink: Fix compiler warnings for tests
GCC warns about constructing a MultiBuf with an uninitialized array, so initialize it first. This isn't a problem in practice because the uninitialized data is never read. Also, ensure the test builds when joining is disabled, though none of the tests can run. Bug: b/343480404 Change-Id: I24a0157228621cae7ed85562929f65a663d7fc82 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/212051 Lint: Lint 🤖 <[email protected]> Pigweed-Auto-Submit: Wyatt Hepler <[email protected]> Presubmit-Verified: CQ Bot Account <[email protected]> Reviewed-by: Anthony DiGirolamo <[email protected]> Commit-Queue: Wyatt Hepler <[email protected]>
- Loading branch information