Demoting CHelpers.h to include/llvm/Support.
[oota-llvm.git] / lib / VMCore / ConstantFold.cpp
index 7154afb1833a74c43842850b36b8454ebc06af6f..73ca47a9aa56c565f3e69b5e19d2c698d15fcb10 100644 (file)
@@ -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);
     }