hotplug-sniffer: Add gnu_printf format attribute
Suggested by compiler with `-Wsuggest-attribute=format` https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/441
This commit is contained in:
parent
1e3a174de9
commit
1dff32e48a
@ -266,7 +266,7 @@ main (int argc,
|
|||||||
|
|
||||||
/* ---------------------------------------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------------------------------------- */
|
||||||
|
|
||||||
static void
|
static void __attribute__((format(printf, 1, 0)))
|
||||||
print_debug (const gchar *format, ...)
|
print_debug (const gchar *format, ...)
|
||||||
{
|
{
|
||||||
gchar *s;
|
gchar *s;
|
||||||
|
Loading…
Reference in New Issue
Block a user