summaryrefslogtreecommitdiffstats
path: root/contrib/uthash
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-04-06 16:27:42 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-04-11 14:16:30 +0200
commit26e2a97b1cbb099fae5a7b613ea1edbb342a4061 (patch)
tree08b9705d1c1805cf4a536e0835205d15be2136a6 /contrib/uthash
parent765813e908e0f23e98ec6224b0408a152a9d3ec0 (diff)
downloadrspamd-26e2a97b1cbb099fae5a7b613ea1edbb342a4061.tar.gz
rspamd-26e2a97b1cbb099fae5a7b613ea1edbb342a4061.zip
[Minor] enable Wmissing-format-attribute
Diffstat (limited to 'contrib/uthash')
-rw-r--r--contrib/uthash/utstring.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/uthash/utstring.h b/contrib/uthash/utstring.h
index f11f34b77..6130fac53 100644
--- a/contrib/uthash/utstring.h
+++ b/contrib/uthash/utstring.h
@@ -120,6 +120,9 @@ do { \
#define utstring_body(s) ((s)->d)
+#ifdef __GNUC__
+__attribute__((format(printf, 2, 0)))
+#endif
_UNUSED_ static void utstring_printf_va(UT_string *s, const char *fmt, va_list ap) {
int n;
va_list cp;