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:
911d265
)
ash: suppress a compilation warning
author
Cristian Ionescu-Idbohrn
<cristian.ionescu-idbohrn@axis.com>
Fri, 1 Jan 2016 23:52:29 +0000
(
00:52
+0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 1 Jan 2016 23:52:29 +0000
(
00:52
+0100)
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>
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index e7a867f523938b04982bd13b665871df70a5c8d8..daec975c513f83e0f8bc1e61dc912650e8db505a 100644
(file)
--- a/
shell/ash.c
+++ b/
shell/ash.c
@@
-8429,7
+8429,7
@@
evaltree(union node *n, int flags)
n->nbinary.ch1,
(flags | ((is_or >> 1) - 1)) & EV_TESTED
);
- if (
!exitstatus
== is_or)
+ if (
(!exitstatus)
== is_or)
break;
if (!evalskip) {
n = n->nbinary.ch2;