From c182d0e906f968620d7918a6457386a6ecfb465d Mon Sep 17 00:00:00 2001 From: Rot127 <45763064+Rot127@users.noreply.github.com> Date: Sun, 19 Nov 2023 14:36:02 +0000 Subject: [PATCH] Remove __GNUC__ check for warning suppression. (#2198) --- arch/AArch64/AArch64AddressingModes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/AArch64/AArch64AddressingModes.h b/arch/AArch64/AArch64AddressingModes.h index 6a2c0082e3..99ecfb3df8 100644 --- a/arch/AArch64/AArch64AddressingModes.h +++ b/arch/AArch64/AArch64AddressingModes.h @@ -823,7 +823,7 @@ static inline uint64_t AArch64_AM_decodeAdvSIMDModImmType12(uint8_t Imm) } -#if __GNUC__ && defined( __has_warning ) +#if defined( __has_warning ) # if __has_warning( "-Wmaybe-uninitialized" ) # define WARNING_SUPRESSED # pragma GCC diagnostic push