projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae4bd34
)
ash: placate gcc: "warning: ! is only applied to the left hand side of =="
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 2 Oct 2016 13:31:33 +0000
(15:31 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 2 Oct 2016 13:31:33 +0000
(15:31 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index 40b3ef3e3a946d61413619aeaf4ac074937d2f27..41ae5cbd2c585f4c1c0380de5d6f7b89b47d412e 100644
(file)
--- 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: