diff options
author | Eric Engestrom <[email protected]> | 2019-10-27 01:04:31 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-10-27 22:10:31 +0000 |
commit | 32cff3781aff6ea8b530d0a2b95b7bc2bee73eee (patch) | |
tree | 1d4c28029da6681182e9eb9d7c067dd0d7732207 | |
parent | 0581a86753243a42fbe7b465b8a09f175f6256b9 (diff) |
tu: 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]>
-rw-r--r-- | src/freedreno/vulkan/tu_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index d4bb8284b14..c24e7d3f6ce 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -40,7 +40,7 @@ #include <valgrind.h> #define VG(x) x #else -#define VG(x) +#define VG(x) ((void)0) #endif #include "c11/threads.h" |