From 5a929250f4890af2ae8224105b39822b5a992e8b Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 22 Mar 2019 20:05:46 +0100 Subject: [PATCH] libtextstyle-optional: Fix compiler warnings * lib/textstyle.in.h (html_styled_ostream_create): Flag arguments as unused. --- ChangeLog | 6 ++++++ lib/textstyle.in.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 62c522e654..457caa9ad9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-03-22 Akim Demaille + + libtextstyle-optional: Fix compiler warnings. + * lib/textstyle.in.h (html_styled_ostream_create): Flag arguments + as unused. + 2019-03-19 Akim Demaille bitset: fix memory leaks diff --git a/lib/textstyle.in.h b/lib/textstyle.in.h index 65fa6707a2..3eb71938f0 100644 --- a/lib/textstyle.in.h +++ b/lib/textstyle.in.h @@ -319,7 +319,8 @@ term_styled_ostream_create (int fd, const char *filename, typedef styled_ostream_t html_styled_ostream_t; static inline html_styled_ostream_t -html_styled_ostream_create (ostream_t destination, const char *css_filename) +html_styled_ostream_create (ostream_t destination _GL_UNUSED, + const char *css_filename _GL_UNUSED) { abort (); return NULL; -- 2.39.5