OSDN Git Service

Silence a warning.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 5 Oct 2007 01:09:32 +0000 (01:09 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 5 Oct 2007 01:09:32 +0000 (01:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42619 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index 7f2b6e7..63a2579 100644 (file)
@@ -5395,7 +5395,7 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
       }
     }
 
-    RTLIB::Libcall LC;
+    RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL;
     if (Node->getOperand(0).getValueType() == MVT::f32)
       LC = RTLIB::FPTOUINT_F32_I64;
     else if (Node->getOperand(0).getValueType() == MVT::f64)