tu: fix empty-body instruction
authorEric Engestrom <eric.engestrom@intel.com>
Sun, 27 Oct 2019 00:04:31 +0000 (01:04 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Sun, 27 Oct 2019 22:10:31 +0000 (22:10 +0000)
Fixes: 8d43e2b2ded0fe3c82d4 ("meson: add -Werror=empty-body to disallow `if(x);`")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/freedreno/vulkan/tu_private.h

index d4bb8284b14eb2c1bac8ff72a746077e878793e2..c24e7d3f6ce7e34d35d8a53f15b1ec183873c5e1 100644 (file)
@@ -40,7 +40,7 @@
 #include <valgrind.h>
 #define VG(x) x
 #else
-#define VG(x)
+#define VG(x) ((void)0)
 #endif
 
 #include "c11/threads.h"