forked from OSchip/llvm-project
Remove a useless variable that got left behind.
llvm-svn: 86501
This commit is contained in:
parent
d7686ef31c
commit
96c0a3e6c2
|
@ -2957,10 +2957,6 @@ void Sema::DefineImplicitDefaultConstructor(SourceLocation CurrentLocation,
|
|||
!Constructor->isUsed()) &&
|
||||
"DefineImplicitDefaultConstructor - call it for implicit default ctor");
|
||||
|
||||
CXXRecordDecl *ClassDecl
|
||||
= cast<CXXRecordDecl>(Constructor->getDeclContext());
|
||||
assert(ClassDecl && "DefineImplicitDefaultConstructor - invalid constructor");
|
||||
|
||||
SetBaseOrMemberInitializers(Constructor, 0, 0, true);
|
||||
|
||||
Constructor->setUsed();
|
||||
|
|
Loading…
Reference in New Issue