aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-25 02:32:59 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-25 02:32:59 +0200
commitf1ee71a4931fb68e24e26e36cd88d30795989643 (patch)
tree715472235301ad5e92f09fc97cf564a23fb0c36c
parentlibmdsclient: add function to find unused message id (diff)
downloadmds-f1ee71a4931fb68e24e26e36cd88d30795989643.tar.gz
mds-f1ee71a4931fb68e24e26e36cd88d30795989643.tar.bz2
mds-f1ee71a4931fb68e24e26e36cd88d30795989643.tar.xz
libmdsclient: libmds_compose_v is not a candidate for gnu_printf
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/libmdsclient/proto-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmdsclient/proto-util.c b/src/libmdsclient/proto-util.c
index 85b755f..6ab2a9c 100644
--- a/src/libmdsclient/proto-util.c
+++ b/src/libmdsclient/proto-util.c
@@ -693,6 +693,7 @@ int libmds_compose_v(char** restrict buffer, size_t* restrict buffer_size, size_
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wformat-nonliteral"
+# pragma GCC diagnostic ignored "-Wsuggest-attribute=format"
part_len = vasprintf(&part_msg, format, args);
# pragma GCC diagnostic pop
if (part_len < 0)