From: Bruno Haible Date: Sun, 28 Apr 2019 11:49:53 +0000 (+0200) Subject: libxml: Avoid gcc warnings. X-Git-Tag: v0.20~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44f3ec1240ffb7268efe786ea848ff3970d72e1b;p=thirdparty%2Fgettext.git libxml: Avoid gcc warnings. 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. --- diff --git a/gnulib-local/lib/libxml/xmlerror.in.h b/gnulib-local/lib/libxml/xmlerror.in.h index 037c16d57..43e68ca59 100644 --- a/gnulib-local/lib/libxml/xmlerror.in.h +++ b/gnulib-local/lib/libxml/xmlerror.in.h @@ -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 }