Wei Wentao <weiwt.f...@cn.fujitsu.com> writes:
> Hi,
>
>    This patch modify an unused variable in aarch64-unwing.h because the 
> warning says "unused parameter 'fs'".

Thanks, pushed.  I also broke the line after the parameter, to keep
things within the 80-character limit.

RichardR

>
> Weiwt
> regards!
>
> ---
>  libgcc/config/aarch64/aarch64-unwind.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libgcc/config/aarch64/aarch64-unwind.h 
> b/libgcc/config/aarch64/aarch64-unwind.h
> index 3c5f85b43c8..64fd1a74185 100644
> --- a/libgcc/config/aarch64/aarch64-unwind.h
> +++ b/libgcc/config/aarch64/aarch64-unwind.h
> @@ -55,7 +55,7 @@ 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)

Reply via email to