aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/common
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-10-28 23:47:48 +0000
committerEric Engestrom <[email protected]>2019-12-27 22:09:00 +0000
commit51569e525afc5e7173f12b0a3f1ba0e92425407f (patch)
treee7afe9c606a24da1195ddcf1a5967a8d7d34fa8b /src/amd/common
parent7a4a75a1852953b25738a47df6f25eed015c5f18 (diff)
amd: fix empty-body issues
Signed-off-by: Eric Engestrom <[email protected]> Fixes: 8d43e2b2ded0fe3c82d4 ("meson: add -Werror=empty-body to disallow `if(x);`") Reviewed-By: Timur Kristóf <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r--src/amd/common/ac_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_debug.c b/src/amd/common/ac_debug.c
index 36a01fd8bf7..77c0e0aa790 100644
--- a/src/amd/common/ac_debug.c
+++ b/src/amd/common/ac_debug.c
@@ -28,7 +28,7 @@
#include <memcheck.h>
#define VG(x) x
#else
-#define VG(x)
+#define VG(x) ((void)0)
#endif
#include <inttypes.h>