[llvm-commits] [llvm] r42329 - /llvm/trunk/lib/VMCore/ConstantFold.cpp

Dale Johannesen dalej at apple.com
Tue Sep 25 16:32:20 PDT 2007


Author: johannes
Date: Tue Sep 25 18:32:20 2007
New Revision: 42329

URL: http://llvm.org/viewvc/llvm-project?rev=42329&view=rev
Log:
Remove no-longer-used variable.


Modified:
    llvm/trunk/lib/VMCore/ConstantFold.cpp

Modified: llvm/trunk/lib/VMCore/ConstantFold.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/ConstantFold.cpp?rev=42329&r1=42328&r2=42329&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/ConstantFold.cpp (original)
+++ llvm/trunk/lib/VMCore/ConstantFold.cpp Tue Sep 25 18:32:20 2007
@@ -194,9 +194,8 @@
       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);
     }





More information about the llvm-commits mailing list