mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02:00
build: enable -Wsuggest-attribute=format
And use G_GNUC_PRINTF for the suggested function.
This commit is contained in:
@@ -61,6 +61,9 @@ xml_element_free (XmlElement *elem)
|
|||||||
g_slice_free (XmlElement, elem);
|
g_slice_free (XmlElement, elem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
xml_printf (Xml *xml, const char *fmt, ...) G_GNUC_PRINTF (2, 3);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xml_printf (Xml *xml, const char *fmt, ...)
|
xml_printf (Xml *xml, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user