Re: [PATCH] Makefile: 'Promote' -Wunused-but-set-variable to W=3
From: Segher Boessenkool
Date: Sat Sep 11 2021 - 17:37:36 EST
On Sat, Sep 11, 2021 at 04:29:05PM +0200, Peter Zijlstra wrote:
> Upgrade -Wunused-but-set-variable to W=3 to avoid the build robots
> sending endless spam for this garbage warning.
"This warning for garbage code" you mean?
> By promoting it to W=3 the robots will no longer report it and people
> will no longer attempt to fix them by making the code worse.
Instead, they will not see such warnings, and make the code worse.
Segher