Skip to content

Commit bb037c2

Browse files
committed
[ConstraintSystem] Remove local variable that is set but not read [NFC]
gcc 7.4 warns about it.
1 parent 40e771c commit bb037c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Analysis/ConstraintSystem.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ bool ConstraintSystem::eliminateUsingFM() {
4646
}
4747

4848
// FIXME do not use copy
49-
bool EliminatedInRow = false;
5049
for (unsigned R2 = R1 + 1; R2 < NumConstraints; R2++) {
5150
if (R1 == R2)
5251
continue;
@@ -85,7 +84,6 @@ bool ConstraintSystem::eliminateUsingFM() {
8584
.getZExtValue();
8685
}
8786
NewSystem.push_back(std::move(NR));
88-
EliminatedInRow = true;
8987
}
9088
}
9189
Constraints = std::move(NewSystem);

0 commit comments

Comments
 (0)