mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
build: enable -Wsuggest-attribute=format
And use G_GNUC_PRINTF for the suggested function.
This commit is contained in:
parent
573fe41788
commit
ee2ec3343e
@ -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, ...)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user