summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-10-27 01:04:28 +0100
committerEric Engestrom <[email protected]>2019-10-27 22:10:31 +0000
commitc2430f3edc545f6868757304f80ed31849d4d5d2 (patch)
tree9708726fec4fb9e7708208870eb7d6567d196c78 /src/amd/vulkan
parent493903199cf68e8c5a57cd93253175f827499695 (diff)
radv: fix empty-body instruction
Fixes: 8d43e2b2ded0fe3c82d4 ("meson: add -Werror=empty-body to disallow `if(x);`") Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 3bfb8d11859..12f192ed200 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -40,7 +40,7 @@
#include <memcheck.h>
#define VG(x) x
#else
-#define VG(x)
+#define VG(x) ((void)0)
#endif
#include "c11/threads.h"