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 | 9c193965bab9c4c92b79284702f64cda96bbf409 (patch) | |
tree | bb5f5977c8cb238ed70023330c107361b1d0030d /clang/lib/CodeGen | |
parent | d064aefefcdedbcf9decc80bb86fc74f43e90aca (diff) | |
download | bcm5719-llvm-9c193965bab9c4c92b79284702f64cda96bbf409.tar.gz bcm5719-llvm-9c193965bab9c4c92b79284702f64cda96bbf409.zip |
Remove unused variable.
llvm-svn: 95476
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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<CXXRecordDecl>(D->getDeclContext()); const Expr *E = (*ArgBeg); QualType Ty = E->getType(); llvm::Value *Src = EmitLValue(E).getAddress(); |