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:
Robert Mader 2019-03-05 23:45:44 +01:00 committed by Florian Müllner
parent 1dff32e48a
commit 2b1d6e607f

View File

@ -1078,7 +1078,7 @@ main (int argc,
/* ---------------------------------------------------------------------------------------------------- */
static void
static void __attribute__((format(printf, 1, 0)))
print_debug (const gchar *format, ...)
{
gchar *s;