Fix build wanrings and line endings
authorAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 17 Apr 2015 23:20:24 +0000 (23:20 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 17 Apr 2015 23:20:24 +0000 (23:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235241 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/WinEHPrepare.cpp

index 43a4f0111efc74a6c36c53272539809c9b7aca22..4923d46c1061e576b08f123a821f8b570af21580 100644 (file)
@@ -1296,7 +1296,6 @@ CloningDirector::CloningAction WinEHCleanupDirector::handleResume(
 CloningDirector::CloningAction
 WinEHCleanupDirector::handleCompare(ValueToValueMapTy &VMap,
                                     const CmpInst *Compare, BasicBlock *NewBB) {
-  const IntrinsicInst *IntrinCall = nullptr;
   if (match(Compare->getOperand(0), m_Intrinsic<Intrinsic::eh_typeid_for>()) ||
       match(Compare->getOperand(1), m_Intrinsic<Intrinsic::eh_typeid_for>())) {
     VMap[Compare] = ConstantInt::get(SelectorIDType, 1);