diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Sema/SemaInit.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp index 4e4558479a..616b2a0bf5 100644 --- a/lib/Sema/SemaInit.cpp +++ b/lib/Sema/SemaInit.cpp @@ -723,7 +723,6 @@ void InitListChecker::CheckSubElementType(const InitializedEntity &Entity, // PerformCopyInitialization produce the appropriate diagnostic. SemaRef.PerformCopyInitialization(Entity, SourceLocation(), SemaRef.Owned(expr)); - IList->setInit(Index, 0); hadError = true; ++Index; ++StructuredIndex; |