1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
https://github.com/liblouis/liblouisxml/pull/7
commit 34cdeca863b17b3fc6f0d8e17186410c5878105c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed Aug 20 10:03:09 2025 +0200
libxml_errors: drop ATTRIBUTE_UNUSED
libxml before 2.14 used to define it, but it's not part of its API, so
we shouldn't have been using it.
Fixes #6
diff --git a/liblouisxml/liblouisxml.c b/liblouisxml/liblouisxml.c
index e49360f..68c4a5a 100644
--- a/liblouisxml/liblouisxml.c
+++ b/liblouisxml/liblouisxml.c
@@ -46,7 +46,7 @@ lbx_version ()
}
static void
-liblouisxmlErrors (void *ctx ATTRIBUTE_UNUSED, const char *msg, ...)
+liblouisxmlErrors (void *ctx, const char *msg, ...)
{
va_list args;
char buffer[MAXNAMELEN];
|