mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #495 from Dmitry-Me/pointerAssertionAfterIdentify
Pointer post-assertion
This commit is contained in:
commit
cd47f8e0d3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue