]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Initialize local variable in __gnu_cxx::rope
authorJonathan Wakely <jwakely@redhat.com>
Wed, 1 Oct 2025 14:12:35 +0000 (15:12 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 7 Oct 2025 11:15:28 +0000 (12:15 +0100)
commita06d127372d935fdea6389d456350257c3b30184
treebca62ae7a38a2c4d43be01cb52c9d64461939072
parent2f399316fca1cadfde3d9e8af92e029ef00bc2da
libstdc++: Initialize local variable in __gnu_cxx::rope

This avoids -Wmaybe-uninitialized warnings.

libstdc++-v3/ChangeLog:

* include/ext/ropeimpl.h (rope::_S_fetch): Initialize variable.
libstdc++-v3/include/ext/ropeimpl.h