summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2019-03-14 14:59:10 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2019-03-29 16:58:07 +0100
commit5ef652b7e33b2c1fa37f15f7c3765536b541eaab (patch)
treefc1811edd34a11f2c275658d133091ec5aca2ca8 /tests
parent2f64e2edbb8e2f54cc12885b607844fa69d46774 (diff)
build: Add missing G_GNUC_PRINTF annotations
They were suggested by gcc when using -Wsuggest-attribute=format Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-logging.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-logging.c b/tests/test-logging.c
index 6a79ca9..32b0c33 100644
--- a/tests/test-logging.c
+++ b/tests/test-logging.c
@@ -27,6 +27,7 @@
#define OTHER_LOG_DOMAIN "Other"
#define LOG_OTHER_HELPER(suffix, level) \
+ G_GNUC_PRINTF(1, 2) \
static void G_PASTE(other_, suffix)(const gchar *format, ...) \
{ \
va_list args; \