mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Fix clang warning.
include/private/vkd3d_test.h:276:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] vkd3d_test_debug(name); Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
05cb9de9a3
commit
4ee7b3428d
@ -273,7 +273,7 @@ typedef void (*vkd3d_test_pfn)(void);
|
||||
|
||||
static inline void vkd3d_run_test(const char *name, vkd3d_test_pfn test_pfn)
|
||||
{
|
||||
vkd3d_test_debug(name);
|
||||
vkd3d_test_debug("%s", name);
|
||||
test_pfn();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user