On Thu, 7 May 2020 13:28:28 -0400 Steven Rostedt <rost...@goodmis.org> wrote:
> > It's perfectly safe to return 0/1 in a boolean function; that said seeing > > as this is the second attempt at "fixing" this I'm tempted to say we should > > pick it up... > > > > Actually, I disagree. We should push back on the check to not warn on 0/1 > of boolean. Why is this a warning? If anything, we can teach people to try to understand their fixes, to see if something is really a fix or not. Blindly accepting changes like this, is no different than blindly submitting patches because some tool says its an issue. -- Steve