diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-02-06 03:29:18 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-02-06 03:29:18 +0000 |
commit | eafd1d60fdf4ad076aae64d148046251344ffb13 (patch) | |
tree | 00c2bf032482fe65bdfa43de246333700cb57a35 /lib/CodeGen/CGClass.cpp | |
parent | b2bcf1c176b200b36f371e189ce22f93c86cdf45 (diff) |
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
-rw-r--r-- | lib/CodeGen/CGClass.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CGClass.cpp b/lib/CodeGen/CGClass.cpp index 648e37e9ac..3804a7cf83 100644 --- a/lib/CodeGen/CGClass.cpp +++ b/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<CXXRecordDecl>(D->getDeclContext()); const Expr *E = (*ArgBeg); QualType Ty = E->getType(); llvm::Value *Src = EmitLValue(E).getAddress(); |