diff options
author | Eric Engestrom <[email protected]> | 2019-10-26 23:51:51 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-10-27 22:09:14 +0000 |
commit | 493903199cf68e8c5a57cd93253175f827499695 (patch) | |
tree | eaf4dba308e95d591eb19c89d35f99395cd2730b /src | |
parent | 521cdde8fc5bcd8601910b16961398eb21365f6e (diff) |
anv: 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')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index aa1f2cbea87..30f1da39425 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -40,7 +40,7 @@ #define __gen_validate_value(x) VALGRIND_CHECK_MEM_IS_DEFINED(&(x), sizeof(x)) #endif #else -#define VG(x) +#define VG(x) ((void)0) #endif #include "common/gen_clflush.h" |