On Thu, Dec 31, 2015 at 11:01:24AM +0100, Cristian Ionescu-Idbohrn wrote:
> Reported by gcc (Debian 5.3.1-4) 5.3.1 20151219
> 
> shell/ash.c: In function 'evaltree':
> shell/ash.c:8432:19: warning: logical not is only applied to the left hand 
> side of comparison [-Wlogical-not-parentheses]
>    if (!exitstatus == is_or)
>                    ^

I would prefer turning off this warning instead of making the code
harder to read. If someone would read !a == b as !(a==b) then they
have much bigger C comprehension problems they need to work on.

Rich
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to