+2020-10-04 Bruno Haible <bruno@clisp.org>
+
+ localename: Fix a couple of "unused parameter" warnings.
+ Reported by Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2020-10/msg00014.html>.
+ * lib/localename.c (gl_locale_name_thread_unsafe, gl_locale_name_thread,
+ gl_locale_name_posix, gl_locale_name_environ): Add _GL_UNUSED in
+ parameter list.
+
2020-10-04 Bruno Haible <bruno@clisp.org>
vasnprintf: Don't use %n on modern, ISO C 99 compliant platforms.
static
# endif
const char *
-gl_locale_name_thread_unsafe (int category, const char *categoryname)
+gl_locale_name_thread_unsafe (int category, const char *categoryname _GL_UNUSED)
{
# if HAVE_GOOD_USELOCALE
{
#endif
const char *
-gl_locale_name_thread (int category, const char *categoryname)
+gl_locale_name_thread (int category, const char *categoryname _GL_UNUSED)
{
#if HAVE_GOOD_USELOCALE
const char *name = gl_locale_name_thread_unsafe (category, categoryname);
#endif
const char *
-gl_locale_name_posix (int category, const char *categoryname)
+gl_locale_name_posix (int category, const char *categoryname _GL_UNUSED)
{
#if defined WINDOWS_NATIVE
if (LC_MIN <= category && category <= LC_MAX)
}
const char *
-gl_locale_name_environ (int category, const char *categoryname)
+gl_locale_name_environ (int category _GL_UNUSED, const char *categoryname)
{
const char *retval;