diff options
author | Duncan Sands <baldrick@free.fr> | 2013-03-31 17:44:09 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2013-03-31 17:44:09 +0000 |
commit | 79f615cbfe75b56a9fb2bfd6ed9d22399d59101e (patch) | |
tree | a43dd757139b1e701733ae7e554acb929ab019ee | |
parent | 4345e8040f14781d20fd5fa2f7ee3c75fa611fa1 (diff) |
There is no longer any need to silence this compiler warning as the warning has
been turned off globally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178451 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Hexagon/HexagonNewValueJump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Hexagon/HexagonNewValueJump.cpp b/lib/Target/Hexagon/HexagonNewValueJump.cpp index cd3d2898d0..5e80e48b01 100644 --- a/lib/Target/Hexagon/HexagonNewValueJump.cpp +++ b/lib/Target/Hexagon/HexagonNewValueJump.cpp @@ -220,7 +220,7 @@ static bool canCompareBeNewValueJump(const HexagonInstrInfo *QII, return false; } - unsigned cmpReg1, cmpOp2 = 0; // cmpOp2 assignment silences compiler warning. + unsigned cmpReg1, cmpOp2; cmpReg1 = MI->getOperand(1).getReg(); if (secondReg) { |