From 20806ce4e4923f1c2a4347712ed3462b2c39144e Mon Sep 17 00:00:00 2001 From: Lee Thomason Date: Fri, 26 Dec 2014 12:20:07 -0800 Subject: [PATCH] add an extra assert --- tinyxml2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tinyxml2.h b/tinyxml2.h index 35da4d9..b0b9f8e 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -533,6 +533,7 @@ class XMLUtil { public: static const char* SkipWhiteSpace( const char* p ) { + TIXMLASSERT(p); while( IsWhiteSpace(*p) ) { ++p; }