diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h index 2f7998b6c1..6175c24c94 100644 --- a/include/qemu/compiler.h +++ b/include/qemu/compiler.h @@ -33,7 +33,7 @@ #define cat(x,y) x ## y #define cat2(x,y) cat(x,y) #define QEMU_BUILD_BUG_ON(x) \ - typedef char cat2(qemu_build_bug_on__,__LINE__)[(x)?-1:1]; + typedef char cat2(qemu_build_bug_on__,__LINE__)[(x)?-1:1] __attribute__((unused)); #if defined __GNUC__ # if !QEMU_GNUC_PREREQ(4, 4) |