1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-21 19:23:00 +04:00

fix assert logic

This commit is contained in:
Lee Thomason
2026-05-23 16:10:29 -07:00
parent 682fda289f
commit 5ce9f9a3a7
-2
View File
@@ -2358,8 +2358,6 @@ static FILE* callfopen( const char* filepath, const char* mode )
}
void XMLDocument::DeleteNode( XMLNode* node ) {
TIXMLASSERT( node );
TIXMLASSERT(node->_document == this );
if(node == 0) {
return; // check for null pointer
}