[PATCH v3 1/1] bfd, binutils, gas: Remove/mark unused variables
Jan Beulich
jbeulich@suse.com
Thu Sep 15 12:58:44 GMT 2022
On 15.09.2022 14:46, Tsukasa OI wrote:
> Clang generates a warning on unused (technically, written but not read
> thereafter) variables. By the default configuration (with "-Werror"), it
> causes a build failure (unless "--disable-werror" is specified).
>
> This commit adds ATTRIBUTE_UNUSED attribute to some of them, which means
> they are *possibly* unused (can be used but no warnings occur when
> unused) and removes others.
Okay.
Thanks, Jan
More information about the Binutils
mailing list