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 | 495179a844681bf1688c95ea4f9cc0dacddb2ad8 (patch) | |
tree | 8ed8b1685519022b54062be9b6e3d40fd9ea26ff | |
parent | f53d83e5f075d5bfe38169a406617c06ef844bef (diff) | |
download | external_llvm-495179a844681bf1688c95ea4f9cc0dacddb2ad8.zip external_llvm-495179a844681bf1688c95ea4f9cc0dacddb2ad8.tar.gz external_llvm-495179a844681bf1688c95ea4f9cc0dacddb2ad8.tar.bz2 |
Remove no-longer-used variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42329 91177308-0d34-0410-b5e6-96231b3b80d8
-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 7154afb..73ca47a 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); } |