]> gcc.gnu.org Git - gcc.git/commitdiff
libstdc++: Fix some -Wunused-parameter warnings
authorJonathan Wakely <jwakely@redhat.com>
Thu, 10 Sep 2020 16:09:16 +0000 (17:09 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 10 Sep 2020 16:09:16 +0000 (17:09 +0100)
libstdc++-v3/ChangeLog:

* include/bits/codecvt.h (codecvt_byname): Remove names of
unused parameters.

libstdc++-v3/include/bits/codecvt.h

index f6e20f0649c9f9085af55e9ba73d89d72bab6b92..e6efa166109ee24b46ae0710421bc087015c87ab 100644 (file)
@@ -763,7 +763,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     {
     public:
       explicit
-      codecvt_byname(const char* __s, size_t __refs = 0)
+      codecvt_byname(const char*, size_t __refs = 0)
       : codecvt<char16_t, char8_t, mbstate_t>(__refs) { }
 
       explicit
@@ -781,7 +781,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     {
     public:
       explicit
-      codecvt_byname(const char* __s, size_t __refs = 0)
+      codecvt_byname(const char*, size_t __refs = 0)
       : codecvt<char32_t, char8_t, mbstate_t>(__refs) { }
 
       explicit
This page took 0.062152 seconds and 5 git commands to generate.