diff options
author | Henrique Dante de Almeida <hdante@gmail.com> | 2013-01-13 14:05:14 -0200 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-01-13 12:15:24 -0500 |
commit | 28bd57d6c80d6a0056ef64c5d238c2ad53586997 (patch) | |
tree | 383d36eebbec6c8ed4ed87da76f5cf63728fa6bd /gio/gdbusauth.c | |
parent | de001225c39a4c4f5773b88b9805456f60d11374 (diff) | |
download | glib-wip/format-errors.tar.gz |
Add G_GNUC_PRINTF on all functions with format stringswip/format-errors
This allows compilation with clang wihtout errors, even
when -Wformat-nonliteral is active (as long as there are
no real cases of non literal formatting).
https://bugzilla.gnome.org/show_bug.cgi?id=691608
Diffstat (limited to 'gio/gdbusauth.c')
-rw-r--r-- | gio/gdbusauth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gdbusauth.c b/gio/gdbusauth.c index 962a218c0..dd4cc2ca5 100644 --- a/gio/gdbusauth.c +++ b/gio/gdbusauth.c @@ -46,6 +46,7 @@ #include "glibintl.h" +G_GNUC_PRINTF(1, 2) static void debug_print (const gchar *message, ...) { |