diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-25 02:32:59 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-25 02:32:59 +0200 |
commit | f1ee71a4931fb68e24e26e36cd88d30795989643 (patch) | |
tree | 715472235301ad5e92f09fc97cf564a23fb0c36c /src/libmdsclient | |
parent | libmdsclient: add function to find unused message id (diff) | |
download | mds-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>
Diffstat (limited to 'src/libmdsclient')
-rw-r--r-- | src/libmdsclient/proto-util.c | 1 |
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) |