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