SemaInit.cpp: Fix a warning with -Asserts. [-Wunused-variable]
llvm-svn: 213345
diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp
index 3ed1d7f..30471fb 100644
--- a/clang/lib/Sema/SemaInit.cpp
+++ b/clang/lib/Sema/SemaInit.cpp
@@ -919,6 +919,7 @@
// 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;