From bc1a00843fce8ce0ed101c4e6eb02ee79e673a00 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 2 Oct 2016 15:31:33 +0200 Subject: [PATCH] ash: placate gcc: "warning: ! is only applied to the left hand side of ==" Signed-off-by: Denys Vlasenko --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.25.1