From 9c193965bab9c4c92b79284702f64cda96bbf409 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Sat, 6 Feb 2010 03:29:18 +0000 Subject: Remove unused variable. llvm-svn: 95476 --- clang/lib/CodeGen/CGClass.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/CodeGen/CGClass.cpp') diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index 648e37e9acf..3804a7cf830 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -1238,7 +1238,6 @@ CodeGenFunction::EmitCXXConstructorCall(const CXXConstructorDecl *D, assert(ArgBeg + 1 == ArgEnd && "unexpected argcount for trivial ctor"); assert(D->isCopyConstructor() && "trivial 1-arg ctor not a copy ctor"); - const CXXRecordDecl *ClassDecl = cast(D->getDeclContext()); const Expr *E = (*ArgBeg); QualType Ty = E->getType(); llvm::Value *Src = EmitLValue(E).getAddress(); -- cgit v1.2.3