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/.