SemaInit.cpp: Fix a warning with -Asserts. [-Wunused-variable]
llvm-svn: 213345
This commit is contained in:
parent
7e246a47f9
commit
c1551a10ed
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue