Eliminate an unused-variable warning
authorDouglas Gregor <dgregor@apple.com>
Wed, 29 Jul 2009 22:40:58 +0000 (22:40 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 29 Jul 2009 22:40:58 +0000 (22:40 +0000)
llvm-svn: 77518

clang/lib/CodeGen/CGObjCMac.cpp

index 45ce425..3ad2bef 100644 (file)
@@ -101,7 +101,6 @@ LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
                                                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);