forked from OSchip/llvm-project
[ConstraintSystem] Remove local variable that is set but not read [NFC]
gcc 7.4 warns about it.
This commit is contained in:
parent
40e771c1c0
commit
bb037c2a76
|
@ -46,7 +46,6 @@ bool ConstraintSystem::eliminateUsingFM() {
|
|||
}
|
||||
|
||||
// FIXME do not use copy
|
||||
bool EliminatedInRow = false;
|
||||
for (unsigned R2 = R1 + 1; R2 < NumConstraints; R2++) {
|
||||
if (R1 == R2)
|
||||
continue;
|
||||
|
@ -85,7 +84,6 @@ bool ConstraintSystem::eliminateUsingFM() {
|
|||
.getZExtValue();
|
||||
}
|
||||
NewSystem.push_back(std::move(NR));
|
||||
EliminatedInRow = true;
|
||||
}
|
||||
}
|
||||
Constraints = std::move(NewSystem);
|
||||
|
|
Loading…
Reference in New Issue