[PATCH] Remove a compilation warning

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Fri Jan 1 23:35:33 UTC 2016


On Fri, 1 Jan 2016, Rich Felker wrote:
> On Fri, Jan 01, 2016 at 02:44:25PM -0500, Jody Bruchon wrote:
> > How about putting the left side in parentheses to silence the
> > warning instead of turning the warning off completely?
>
> My point was that the parentheses make the code less readable, not
> more readable, and that nobody would reasonably mistake the operator
> precedence in this case or in any case reported by
> -Wlogical-not-parentheses. It's a bogus warning.

Whatever.  Pick your fight.  Upstream isn't me ;)


Cheers,

-- 
Cristian


More information about the busybox mailing list