mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +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);
|
||||
}
|
||||
|
||||
static void
|
||||
xml_printf (Xml *xml, const char *fmt, ...) G_GNUC_PRINTF (2, 3);
|
||||
|
||||
static void
|
||||
xml_printf (Xml *xml, const char *fmt, ...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user