util: fix mingw format-extra-args warning

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7713>
This commit is contained in:
Michel Zou
2020-11-21 13:34:18 +01:00
committed by Marge Bot
parent 5f6c5e5b86
commit 89b01cc025
2 changed files with 7 additions and 6 deletions
+1 -5
View File
@@ -54,11 +54,7 @@ extern "C" {
#endif
#if defined(__GNUC__)
#define _util_printf_format(fmt, list) __attribute__ ((format (printf, fmt, list)))
#else
#define _util_printf_format(fmt, list)
#endif
#define _util_printf_format(fmt, list) PRINTFLIKE(fmt, list)
void _debug_vprintf(const char *format, va_list ap);