diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-05-10 16:44:09 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-05-12 13:12:35 +0000 |
commit | d3225577123767fd09c91201d27e9c91663ae132 (patch) | |
tree | 2093c860b1774ae07889bfce8a3082f51a05d2e4 /UefiPayloadPkg/UefiPayloadPkg.dec | |
parent | e2607d3a785e92aa5ba115065bf97c38bc532c0a (diff) | |
download | edk2-d3225577123767fd09c91201d27e9c91663ae132.tar.gz |
BaseTools/tools_def: Disable overzealous unused variable warning on Clang
The warnings Clang emits when enabling -Wunneeded-internal-declaration
(which is part of -Wall) are generating false positives for variables
whose size gets taken but are not referenced beyond yet.
This may happen legitimately in debug code, so let's disable this
warning for Clang, rather than tiptoe around it in the code.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'UefiPayloadPkg/UefiPayloadPkg.dec')
0 files changed, 0 insertions, 0 deletions