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 | 17663f40b9657edd8a5a933f729758f3173ef6ca (patch) | |
| tree | 48fae4ae66d549815020da0bfb20f3ee4b41301a /llvm/lib | |
| parent | e7439eff5a1be7d5da85787180055d8ef8e24c1b (diff) | |
| download | bcm5719-llvm-17663f40b9657edd8a5a933f729758f3173ef6ca.tar.gz bcm5719-llvm-17663f40b9657edd8a5a933f729758f3173ef6ca.zip | |
Remove no-longer-used variable.
llvm-svn: 42329
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/VMCore/ConstantFold.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/ConstantFold.cpp b/llvm/lib/VMCore/ConstantFold.cpp index 7154afb1833..73ca47a9aa5 100644 --- a/llvm/lib/VMCore/ConstantFold.cpp +++ b/llvm/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); } |

