← Commit list

bc1a00843

Denys Vlasenko
Denys Vlasenko
2016-10-02
SUCCESS Duration: 269s

Subject

ash: placate gcc: "warning: ! is only applied to the left hand side of =="

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+1 -1
@@ -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: