[cfe-commits] r77518 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp

Douglas Gregor dgregor at apple.com
Wed Jul 29 15:40:59 PDT 2009


Author: dgregor
Date: Wed Jul 29 17:40:58 2009
New Revision: 77518

URL: http://llvm.org/viewvc/llvm-project?rev=77518&view=rev
Log:
Eliminate an unused-variable warning

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

Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=77518&r1=77517&r2=77518&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Wed Jul 29 17:40:58 2009
@@ -101,7 +101,6 @@
                                                unsigned CVRQualifiers,
                                                llvm::Value *Offset) {
   // Compute (type*) ( (char *) BaseValue + Offset)
-  llvm::LLVMContext &VMContext = CGF.getLLVMContext();
   llvm::Type *I8Ptr = llvm::PointerType::getUnqual(llvm::Type::Int8Ty);
   QualType IvarTy = Ivar->getType();
   const llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy);





More information about the cfe-commits mailing list