From 0581a86753243a42fbe7b465b8a09f175f6256b9 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 27 Oct 2019 01:04:30 +0100 Subject: [PATCH] v3d: fix empty-body instruction Fixes: 8d43e2b2ded0fe3c82d4 ("meson: add -Werror=empty-body to disallow `if(x);`") Signed-off-by: Eric Engestrom Reviewed-by: Jordan Justen Reviewed-by: Jason Ekstrand --- src/broadcom/cle/v3d_packet_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2