From: Paul Eggert Date: Tue, 25 Mar 2025 00:00:19 +0000 (-0700) Subject: libtextstyle-optional: pacify gcc -Wunused-parameter X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e99a4f92d57b69e48ff6a8643676c2fa1e594398;p=gnulib.git libtextstyle-optional: pacify gcc -Wunused-parameter * lib/textstyle.in.h (html_ostream_create): Mark arg as unused. --- diff --git a/ChangeLog b/ChangeLog index a6a041815b..c6f2cb4dc8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-03-24 Paul Eggert + + libtextstyle-optional: pacify gcc -Wunused-parameter + * lib/textstyle.in.h (html_ostream_create): Mark arg as unused. + 2025-03-24 Bruno Haible getlocalename_l-unsafe: Work around Cygwin 3.6.0 bug. diff --git a/lib/textstyle.in.h b/lib/textstyle.in.h index 2581205c94..b1b40db873 100644 --- a/lib/textstyle.in.h +++ b/lib/textstyle.in.h @@ -551,7 +551,7 @@ html_ostream_get_destination (_GL_ATTRIBUTE_MAYBE_UNUSED html_ostream_t stream) } static inline html_ostream_t -html_ostream_create (ostream_t destination) +html_ostream_create (_GL_ATTRIBUTE_MAYBE_UNUSED ostream_t destination) { /* Not supported without the real libtextstyle. */ abort ();