summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
-rw-r--r--clang/lib/Sema/SemaInit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp
index 3ed1d7f1f66..30471fbc9ad 100644
--- a/clang/lib/Sema/SemaInit.cpp
+++ b/clang/lib/Sema/SemaInit.cpp
@@ -919,6 +919,7 @@ void InitListChecker::CheckSubElementType(const InitializedEntity &Entity,
// that we've already checked once.
assert(SemaRef.Context.hasSameType(VIE->getType(), ElemType) &&
"found implicit initialization for the wrong type");
+ (void)VIE;
if (!VerifyOnly)
UpdateStructuredListElement(StructuredList, StructuredIndex, expr);
++Index;
OpenPOWER on IntegriCloud