diff options
author | Nick Clifton <nickc@redhat.com> | 2023-11-24 08:10:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-11-24 08:10:12 +0000 |
commit | 6c0c7d489bdf106d90b300aeb8d042c7b1ad3d2b (patch) | |
tree | 4b62fdc8e20cc9ba269f8d82e431023efbb9c176 /opcodes | |
parent | d81251ee1f84f7d47c0aa1813a005d9c7a4bdab2 (diff) | |
download | gdb-6c0c7d489bdf106d90b300aeb8d042c7b1ad3d2b.zip gdb-6c0c7d489bdf106d90b300aeb8d042c7b1ad3d2b.tar.gz gdb-6c0c7d489bdf106d90b300aeb8d042c7b1ad3d2b.tar.bz2 |
Fix building for the s390 target with clang
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/s390-opc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/s390-opc.c b/opcodes/s390-opc.c index 0427bd8..cbfdb3d 100644 --- a/opcodes/s390-opc.c +++ b/opcodes/s390-opc.c @@ -262,9 +262,10 @@ const struct s390_operand s390_operands[] = }; -static inline void unused_s390_operands_static_asserts(void) +static inline void ATTRIBUTE_UNUSED +unused_s390_operands_static_asserts (void) { - static_assert(ARRAY_SIZE(s390_operands) - 1 == J32_16); + static_assert (ARRAY_SIZE (s390_operands) - 1 == J32_16); } /* Macros used to form opcodes. */ |