* lib/textstyle.in.h (html_ostream_create): Mark arg as unused.
---
 ChangeLog          | 5 +++++
 lib/textstyle.in.h | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a6a041815b..c6f2cb4dc8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-03-24  Paul Eggert  <egg...@cs.ucla.edu>
+
+       libtextstyle-optional: pacify gcc -Wunused-parameter
+       * lib/textstyle.in.h (html_ostream_create): Mark arg as unused.
+
 2025-03-24  Bruno Haible  <br...@clisp.org>
 
        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 ();
-- 
2.49.0


Reply via email to