commit | 8ed25cb2a86b846ba99efeb97ea79f625e510b76 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue Sep 20 15:36:53 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 20 15:36:53 2022 +0000 |
tree | 9dbc2e2f56af5ba2aea2498b0e600cf0b0505721 | |
parent | 7644b17131d50eb47a81b06765cf04fb96de7ae9 [diff] |
pw_string: Initialize values in to_string_test CustomType was used uninitialized in tests. Its uninitialized members were never accessed, but this triggered -Wmaybe-uninitialized errors in GCC 11. Change-Id: I7dec5bddf20895adfef1ed80e1cd818b3f2a3f1f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/111072 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Rob Mohr <mohrr@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/.