Remove a useless variable that got left behind.

llvm-svn: 86501
This commit is contained in:
Eli Friedman 2009-11-09 01:11:03 +00:00
parent d7686ef31c
commit 96c0a3e6c2
1 changed files with 0 additions and 4 deletions

View File

@ -2957,10 +2957,6 @@ void Sema::DefineImplicitDefaultConstructor(SourceLocation CurrentLocation,
!Constructor->isUsed()) && !Constructor->isUsed()) &&
"DefineImplicitDefaultConstructor - call it for implicit default ctor"); "DefineImplicitDefaultConstructor - call it for implicit default ctor");
CXXRecordDecl *ClassDecl
= cast<CXXRecordDecl>(Constructor->getDeclContext());
assert(ClassDecl && "DefineImplicitDefaultConstructor - invalid constructor");
SetBaseOrMemberInitializers(Constructor, 0, 0, true); SetBaseOrMemberInitializers(Constructor, 0, 0, true);
Constructor->setUsed(); Constructor->setUsed();