diff options
author | Mikael Holmen <mikael.holmen@ericsson.com> | 2020-09-17 14:20:34 +0200 |
---|---|---|
committer | Mikael Holmen <mikael.holmen@ericsson.com> | 2020-09-17 14:26:48 +0200 |
commit | bb037c2a7625d9d13a86b18d9b8b0c75eb8c91cb (patch) | |
tree | f1fd9d29c59235cb6d91b521461be62eae465cce /llvm/lib/Analysis/ConstraintSystem.cpp | |
parent | 40e771c1c0d33c687230111271060c2ba761269f (diff) | |
download | llvm-bb037c2a7625d9d13a86b18d9b8b0c75eb8c91cb.zip llvm-bb037c2a7625d9d13a86b18d9b8b0c75eb8c91cb.tar.gz llvm-bb037c2a7625d9d13a86b18d9b8b0c75eb8c91cb.tar.bz2 |
[ConstraintSystem] Remove local variable that is set but not read [NFC]
gcc 7.4 warns about it.
Diffstat (limited to 'llvm/lib/Analysis/ConstraintSystem.cpp')
-rw-r--r-- | llvm/lib/Analysis/ConstraintSystem.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ConstraintSystem.cpp b/llvm/lib/Analysis/ConstraintSystem.cpp index 818cfe0..d5b15e7 100644 --- a/llvm/lib/Analysis/ConstraintSystem.cpp +++ b/llvm/lib/Analysis/ConstraintSystem.cpp @@ -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); |