Merge pull request #495 from Dmitry-Me/pointerAssertionAfterIdentify

Pointer post-assertion
This commit is contained in:
Lee Thomason 2016-11-10 14:36:10 -08:00 committed by GitHub
commit cd47f8e0d3
1 changed files with 1 additions and 0 deletions

View File

@ -965,6 +965,7 @@ char* XMLNode::ParseDeep( char* p, StrPair* parentEnd )
XMLNode* node = 0;
p = _document->Identify( p, &node );
TIXMLASSERT( p );
if ( node == 0 ) {
break;
}