]> Savannah Git Hosting - gnulib.git/commitdiff
libtextstyle-optional: pacify gcc -Wunused-parameter
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Mar 2025 00:00:19 +0000 (17:00 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Mar 2025 00:04:39 +0000 (17:04 -0700)
* lib/textstyle.in.h (html_ostream_create): Mark arg as unused.

ChangeLog
lib/textstyle.in.h

index a6a041815b343ffbb3efc355f1c2922b7821756e..c6f2cb4dc8c571d05f04af1a036ff717aa194afe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-03-24  Paul Eggert  <eggert@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  <bruno@clisp.org>
 
        getlocalename_l-unsafe: Work around Cygwin 3.6.0 bug.
index 2581205c9411f9618c6a192f9263f57f19d1db50..b1b40db8737f7c25a7a32708a02ed2c79b002273 100644 (file)
@@ -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 ();