From: Wei Wentao Date: Thu, 17 Sep 2020 09:40:23 +0000 (+0100) Subject: aarch64: Fixed unused variable warning in aarch64-unwind.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec7ef3042106fd5981bfaa86dc32965a508d05f3;p=gcc.git aarch64: Fixed unused variable warning in aarch64-unwind.h libgcc/ * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix unused variable warning. --- diff --git a/libgcc/config/aarch64/aarch64-unwind.h b/libgcc/config/aarch64/aarch64-unwind.h index 3c5f85b43c8..719b58cb071 100644 --- a/libgcc/config/aarch64/aarch64-unwind.h +++ b/libgcc/config/aarch64/aarch64-unwind.h @@ -55,7 +55,8 @@ aarch64_cie_signed_with_b_key (struct _Unwind_Context *context) static inline void * aarch64_demangle_return_addr (struct _Unwind_Context *context, - _Unwind_FrameState *fs, _Unwind_Word addr_word) + _Unwind_FrameState *fs ATTRIBUTE_UNUSED, + _Unwind_Word addr_word) { void *addr = (void *)addr_word; if (context->flags & RA_SIGNED_BIT)