forked from OSchip/llvm-project
[MCA] Fix -Wparentheses warning breaking the -Werror build.
Waring was introduced at r357074. llvm-svn: 357085
This commit is contained in:
parent
28f97f1dbc
commit
a194656fa2
|
@ -64,7 +64,8 @@ Error Pipeline::runCycle() {
|
|||
|
||||
// Update stages in preparation for a new cycle.
|
||||
for (const std::unique_ptr<Stage> &S : Stages) {
|
||||
if (Err = S->cycleEnd())
|
||||
Err = S->cycleEnd();
|
||||
if (Err)
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue