r198382 - Remove unused variable to fix clang warning

Reid Kleckner reid at kleckner.net
Thu Jan 2 16:36:32 PST 2014


Author: rnk
Date: Thu Jan  2 18:36:32 2014
New Revision: 198382

URL: http://llvm.org/viewvc/llvm-project?rev=198382&view=rev
Log:
Remove unused variable to fix clang warning

Modified:
    cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp

Modified: cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp?rev=198382&r1=198381&r2=198382&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp (original)
+++ cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp Thu Jan  2 18:36:32 2014
@@ -562,7 +562,6 @@ void MicrosoftCXXABI::EmitCXXConstructor
 
 void MicrosoftCXXABI::EmitVBPtrStores(CodeGenFunction &CGF,
                                       const CXXRecordDecl *RD) {
-  llvm::GlobalVariable::LinkageTypes Linkage = CGM.getVTableLinkage(RD);
   llvm::Value *ThisInt8Ptr =
     CGF.Builder.CreateBitCast(getThisValue(CGF), CGM.Int8PtrTy, "this.int8");
 





More information about the cfe-commits mailing list