Messages in this thread | | | From | Bill Wendling <> | Date | Tue, 27 Jul 2021 12:12:13 -0700 | Subject | Re: [PATCH v2 1/3] base: mark 'no_warn' as unused |
| |
On Tue, Jul 27, 2021 at 11:32 AM Nathan Chancellor <nathan@kernel.org> wrote: > > On 7/27/2021 10:39 AM, 'Nick Desaulniers' via Clang Built Linux wrote: > > Isn't -Wunused-but-set-variable enabled only for W=1 builds? > > Maybe Bill's tree does not have commit 885480b08469 ("Makefile: Move > -Wno-unused-but-set-variable out of GCC only block"), which disables the > warning for clang just like GCC for regular builds? > Ah! I don't have that. It would technically make this patch unnecessary. Use that information as you see fit.
-bw
| |