From 96c0a3e6c2f5e45429fae5428fa2f92835d16ca4 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Mon, 9 Nov 2009 01:11:03 +0000 Subject: [PATCH] Remove a useless variable that got left behind. llvm-svn: 86501 --- clang/lib/Sema/SemaDeclCXX.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp index 5dd62f5415dc..41f8aec815bc 100644 --- a/clang/lib/Sema/SemaDeclCXX.cpp +++ b/clang/lib/Sema/SemaDeclCXX.cpp @@ -2957,10 +2957,6 @@ void Sema::DefineImplicitDefaultConstructor(SourceLocation CurrentLocation, !Constructor->isUsed()) && "DefineImplicitDefaultConstructor - call it for implicit default ctor"); - CXXRecordDecl *ClassDecl - = cast(Constructor->getDeclContext()); - assert(ClassDecl && "DefineImplicitDefaultConstructor - invalid constructor"); - SetBaseOrMemberInitializers(Constructor, 0, 0, true); Constructor->setUsed();