OSDN Git Service

Remove an unused variable to prevent -Werror build failures.
authorKaelyn Takata <rikka@google.com>
Fri, 24 Apr 2015 21:02:18 +0000 (21:02 +0000)
committerKaelyn Takata <rikka@google.com>
Fri, 24 Apr 2015 21:02:18 +0000 (21:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235773 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/WinEHPrepare.cpp

index 963692a..072aea7 100644 (file)
@@ -1234,7 +1234,6 @@ bool WinEHPrepare::outlineHandler(ActionHandler *Action, Function *SrcFn,
 /// target.
 void WinEHPrepare::processSEHCatchHandler(CatchHandler *CatchAction,
                                           BasicBlock *StartBB) {
-  LLVMContext &Context = StartBB->getContext();
   BasicBlock *HandlerBB;
   BasicBlock *NextBB;
   Constant *Selector;