diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-07-18 22:14:32 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-07-19 12:36:59 +0100 |
commit | 2af0f4c34667efe9924fa4e3aa7b9a87617e5ccd (patch) | |
tree | e08448eeebd4aec1e9f72cb90914d16e924e4a22 /gcc/tree-switch-conversion.h | |
parent | f4bce119f617dc4663fb43f55784908daf16b4b6 (diff) | |
download | gcc-2af0f4c34667efe9924fa4e3aa7b9a87617e5ccd.zip gcc-2af0f4c34667efe9924fa4e3aa7b9a87617e5ccd.tar.gz gcc-2af0f4c34667efe9924fa4e3aa7b9a87617e5ccd.tar.bz2 |
libstdc++: Avoid warning in std::format
With -Wmaybe-uninitialized -Wsystem-headers there's a warning about
creating a string_view from an uninitalized array. Initializing the
first element of the array avoids the warning.
libstdc++-v3/ChangeLog:
* include/std/format (__write_padded): Initialize first element
of array to avoid a -Wmaybe-uninitialized warning.
Diffstat (limited to 'gcc/tree-switch-conversion.h')
0 files changed, 0 insertions, 0 deletions