commit | 272873750faa65275e9e1a0340289c2992692cfc | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu May 30 20:48:57 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 30 20:48:57 2024 +0000 |
tree | a653b2b560c790fc01aca0428373684695c73b16 | |
parent | 694805ff7c3e249a9e5a380557f16493e3baa40c [diff] |
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 🤖 <android-build-ayeaye@system.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.