From 3c430466e9f3b1c7136e361cffebea4e788ec655 Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Fri, 3 Apr 2015 19:45:32 +0000 Subject: [PATCH] Fixing build warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234043 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/WinEHPrepare.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/CodeGen/WinEHPrepare.cpp b/lib/CodeGen/WinEHPrepare.cpp index 838293e3e49..cc225a50092 100644 --- a/lib/CodeGen/WinEHPrepare.cpp +++ b/lib/CodeGen/WinEHPrepare.cpp @@ -682,7 +682,6 @@ void WinEHPrepare::completeNestedLandingPad(Function *ParentFn, // and remap return instructions in the nested handlers that should return // to an address in the outlined handler. Function *OutlinedHandlerFn = OutlinedBB->getParent(); - const BasicBlock *OriginalBB = OriginalLPad->getParent(); BasicBlock::const_iterator II = OriginalLPad; ++II; // The instruction after the landing pad should now be a call to eh.actions. @@ -693,7 +692,6 @@ void WinEHPrepare::completeNestedLandingPad(Function *ParentFn, // Remap the exception variables into the outlined function. WinEHFrameVariableMaterializer Materializer(OutlinedHandlerFn, FrameVarInfo); SmallVector ActionTargets; - unsigned NumArgs = EHActions->getNumArgOperands(); SmallVector ActionList; parseEHActions(EHActions, ActionList); for (auto *Action : ActionList) { -- 2.34.1