]> granicus.if.org Git - clang/commitdiff
Remove an unused local from r194827
authorAlp Toker <alp@nuanti.com>
Fri, 15 Nov 2013 18:09:28 +0000 (18:09 +0000)
committerAlp Toker <alp@nuanti.com>
Fri, 15 Nov 2013 18:09:28 +0000 (18:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194835 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MicrosoftCXXABI.cpp

index a2469f0906f192155c5cf38527ebf1335e85bd6c..4a02d4da51a966730acbe2fa4cde1184ef88c628 100644 (file)
@@ -989,7 +989,6 @@ MicrosoftCXXABI::EmitVirtualMemPtrThunk(const CXXMethodDecl *MD,
                              ThunkName.str(), &CGM.getModule());
   assert(ThunkFn->getName() == ThunkName && "name was uniqued!");
 
-  LinkageInfo LV = MD->getLinkageAndVisibility();
   ThunkFn->setLinkage(MD->isExternallyVisible()
                           ? llvm::GlobalValue::LinkOnceODRLinkage
                           : llvm::GlobalValue::InternalLinkage);