diff options
author | Dale Johannesen <dalej@apple.com> | 2007-09-25 23:32:20 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-09-25 23:32:20 +0000 |
commit | 350add8f510f54f7728721d15e9c319c47dbe55b (patch) | |
tree | 8ed8b1685519022b54062be9b6e3d40fd9ea26ff /lib/VMCore/ConstantFold.cpp | |
parent | 0edc47ad7b3fb5ad5f9dcd4139f3074dd11ff457 (diff) |
Remove no-longer-used variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/ConstantFold.cpp')
-rw-r--r-- | lib/VMCore/ConstantFold.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/VMCore/ConstantFold.cpp b/lib/VMCore/ConstantFold.cpp index 7154afb183..73ca47a9aa 100644 --- a/lib/VMCore/ConstantFold.cpp +++ b/lib/VMCore/ConstantFold.cpp @@ -194,9 +194,8 @@ Constant *llvm::ConstantFoldCastInstruction(unsigned opc, const Constant *V, APFloat V = FPC->getValueAPF(); uint64_t x[2]; uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth(); - APFloat::opStatus status = V.convertToInteger(x, DestBitWidth, - opc==Instruction::FPToSI, - APFloat::rmTowardZero); + (void) V.convertToInteger(x, DestBitWidth, opc==Instruction::FPToSI, + APFloat::rmTowardZero); APInt Val(DestBitWidth, 2, x); return ConstantInt::get(Val); } |