projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4939031
)
radv: fix empty-body instruction
author
Eric Engestrom
<eric.engestrom@intel.com>
Sun, 27 Oct 2019 00:04:28 +0000
(
01:04
+0100)
committer
Eric 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/amd/vulkan/radv_private.h
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_private.h
b/src/amd/vulkan/radv_private.h
index 3bfb8d11859f185afd3ebece5ae51bdcbcdc54db..12f192ed200ccb442158ca177e2219bd034014f8 100644
(file)
--- a/
src/amd/vulkan/radv_private.h
+++ b/
src/amd/vulkan/radv_private.h
@@
-40,7
+40,7
@@
#include <memcheck.h>
#define VG(x) x
#else
-#define VG(x)
+#define VG(x)
((void)0)
#endif
#include "c11/threads.h"