lkml.org 
[lkml]   [2021]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Makefile: 'Promote' -Wunused-but-set-variable to W=3
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

\
 
 \ /
  Last update: 2021-09-11 23:38    [W:0.038 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site