summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2016-10-02 15:31:33 +0200
committerDenys Vlasenko2016-10-02 15:31:33 +0200
commitbc1a00843fce8ce0ed101c4e6eb02ee79e673a00 (patch)
treec0b67d62b0f9d4c741f7ffb2b44bcbfa43aa38fe
parentae4bd34e6bc54cb6b9277f2ec231892517ed1c68 (diff)
downloadbusybox-bc1a00843fce8ce0ed101c4e6eb02ee79e673a00.zip
busybox-bc1a00843fce8ce0ed101c4e6eb02ee79e673a00.tar.gz
ash: placate gcc: "warning: ! is only applied to the left hand side of =="
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 40b3ef3..41ae5cb 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: