diff options
author | Eric Engestrom <[email protected]> | 2019-10-27 01:04:30 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-10-27 22:10:31 +0000 |
commit | 0581a86753243a42fbe7b465b8a09f175f6256b9 (patch) | |
tree | 346561c88ca4616d1e28ccf8658bae6247898488 /src | |
parent | c2430f3edc545f6868757304f80ed31849d4d5d2 (diff) |
v3d: 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/broadcom/cle/v3d_packet_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broadcom/cle/v3d_packet_helpers.h b/src/broadcom/cle/v3d_packet_helpers.h index 841df89b32a..53a5215fb9a 100644 --- a/src/broadcom/cle/v3d_packet_helpers.h +++ b/src/broadcom/cle/v3d_packet_helpers.h @@ -39,7 +39,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 #ifndef __gen_validate_value |