mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
gmessage: Suppress string format literal warning
https://bugzilla.gnome.org/show_bug.cgi?id=769029
This commit is contained in:
parent
e4623800aa
commit
d311177948
@ -1293,6 +1293,9 @@ color_reset (gboolean use_color)
|
|||||||
return "\033[0m";
|
return "\033[0m";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* g_log_structured:
|
* g_log_structured:
|
||||||
* @log_domain: log domain, usually %G_LOG_DOMAIN
|
* @log_domain: log domain, usually %G_LOG_DOMAIN
|
||||||
@ -1473,6 +1476,8 @@ g_log_structured (const gchar *log_domain,
|
|||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
static GLogWriterOutput _g_log_writer_fallback (GLogLevelFlags log_level,
|
static GLogWriterOutput _g_log_writer_fallback (GLogLevelFlags log_level,
|
||||||
const GLogField *fields,
|
const GLogField *fields,
|
||||||
gsize n_fields,
|
gsize n_fields,
|
||||||
|
Loading…
Reference in New Issue
Block a user