mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-08 10:26:16 +01:00
gmessages: Add G_GNUC_PRINTF mark for g_log_structured
It is required to avoid non-literal format string warning when using clang. https://bugzilla.gnome.org/show_bug.cgi?id=744456
This commit is contained in:
parent
0346254502
commit
07932996fa
@ -191,7 +191,7 @@ GLIB_AVAILABLE_IN_2_50
|
|||||||
void g_log_structured (const gchar *log_domain,
|
void g_log_structured (const gchar *log_domain,
|
||||||
GLogLevelFlags log_level,
|
GLogLevelFlags log_level,
|
||||||
const gchar *format,
|
const gchar *format,
|
||||||
...)
|
...) G_GNUC_PRINTF (3, 4)
|
||||||
G_GNUC_NULL_TERMINATED;
|
G_GNUC_NULL_TERMINATED;
|
||||||
|
|
||||||
GLIB_AVAILABLE_IN_2_50
|
GLIB_AVAILABLE_IN_2_50
|
||||||
|
Loading…
Reference in New Issue
Block a user