From: Eric Engestrom Date: Sun, 27 Oct 2019 00:04:28 +0000 (+0100) Subject: radv: fix empty-body instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2430f3edc545f6868757304f80ed31849d4d5d2;p=mesa.git radv: 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 --- 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 #define VG(x) x #else -#define VG(x) +#define VG(x) ((void)0) #endif #include "c11/threads.h"