From: Duncan Sands Date: Sun, 31 Mar 2013 17:44:09 +0000 (+0000) Subject: There is no longer any need to silence this compiler warning as the warning has X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=79f615cbfe75b56a9fb2bfd6ed9d22399d59101e;p=oota-llvm.git 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 --- diff --git a/lib/Target/Hexagon/HexagonNewValueJump.cpp b/lib/Target/Hexagon/HexagonNewValueJump.cpp index cd3d2898d02..5e80e48b01d 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) {