From: Denys Vlasenko Date: Sun, 2 Oct 2016 13:31:33 +0000 (+0200) Subject: ash: placate gcc: "warning: ! is only applied to the left hand side of ==" X-Git-Tag: 1_26_0~191 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc1a00843fce8ce0ed101c4e6eb02ee79e673a00;p=oweals%2Fbusybox.git ash: placate gcc: "warning: ! is only applied to the left hand side of ==" Signed-off-by: Denys Vlasenko --- diff --git a/shell/ash.c b/shell/ash.c index 40b3ef3e3..41ae5cbd2 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -8590,7 +8590,7 @@ evaltree(union node *n, int flags) n->nbinary.ch1, (flags | ((is_or >> 1) - 1)) & EV_TESTED ); - if (!status == is_or || evalskip) + if ((!status) == is_or || evalskip) break; n = n->nbinary.ch2; evaln: