calendar-server: 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
1dff32e48a
commit
2b1d6e607f
@ -1078,7 +1078,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