mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-22 18:07:54 +02: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:
@@ -191,7 +191,7 @@ GLIB_AVAILABLE_IN_2_50
|
||||
void g_log_structured (const gchar *log_domain,
|
||||
GLogLevelFlags log_level,
|
||||
const gchar *format,
|
||||
...)
|
||||
...) G_GNUC_PRINTF (3, 4)
|
||||
G_GNUC_NULL_TERMINATED;
|
||||
|
||||
GLIB_AVAILABLE_IN_2_50
|
||||
|
Reference in New Issue
Block a user