]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Use [[maybe_unused]] attribute in src/c++23/print.cc
authorJonathan Wakely <jwakely@redhat.com>
Tue, 23 Jul 2024 09:08:52 +0000 (10:08 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 23 Jul 2024 09:25:36 +0000 (10:25 +0100)
commitb40156d69153364315e071dc968227ce1c3bd2a8
tree4c79115c4161a0688ded8e8be12c82885d7fdc95
parent8439405e38c56b774cf3c65bdafae5f9e11d470a
libstdc++: Use [[maybe_unused]] attribute in src/c++23/print.cc

This avoids some warnings when the preprocessor conditions are not met.

libstdc++-v3/ChangeLog:

* src/c++23/print.cc (__open_terminal): Use [[maybe_unused]] on
parameter.
libstdc++-v3/src/c++23/print.cc