From 5ce9f9a3a735c8ae4142066c196b66981d6c725d Mon Sep 17 00:00:00 2001 From: Lee Thomason Date: Sat, 23 May 2026 16:10:29 -0700 Subject: [PATCH] fix assert logic --- tinyxml2.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 7844aee..7e212ae 100644 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -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 }