ash: suppress a compilation warning
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 Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
911d265faf
commit
c2a2625bcb
@ -8429,7 +8429,7 @@ evaltree(union node *n, int flags)
|
|||||||
n->nbinary.ch1,
|
n->nbinary.ch1,
|
||||||
(flags | ((is_or >> 1) - 1)) & EV_TESTED
|
(flags | ((is_or >> 1) - 1)) & EV_TESTED
|
||||||
);
|
);
|
||||||
if (!exitstatus == is_or)
|
if ((!exitstatus) == is_or)
|
||||||
break;
|
break;
|
||||||
if (!evalskip) {
|
if (!evalskip) {
|
||||||
n = n->nbinary.ch2;
|
n = n->nbinary.ch2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user