]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
libxml: Avoid gcc warnings.
authorBruno Haible <bruno@clisp.org>
Sun, 28 Apr 2019 11:49:53 +0000 (13:49 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Apr 2019 12:30:43 +0000 (14:30 +0200)
Avoids "warning: too many arguments for format".

* gnulib-local/lib/libxml/xmlerror.in.h (__xmlSimpleError): Remove
LIBXML_ATTR_FORMAT annotation, because this function may be called with a
NULL msg.

gnulib-local/lib/libxml/xmlerror.in.h

index 037c16d5704c1a5aada7930fcc7932c54fa7d00f..43e68ca593536fda98b0ac8c008fe21c582597d8 100644 (file)
@@ -937,7 +937,7 @@ XMLPUBFUN void XMLCALL
                                 int code,
                                 xmlNodePtr node,
                                 const char *msg,
-                                const char *extra) LIBXML_ATTR_FORMAT(4,0);
+                                const char *extra);
 #endif
 #ifdef __cplusplus
 }