mirror of https://github.com/AxioDL/tinyxml2.git
add an extra assert
This commit is contained in:
parent
eaddfd8768
commit
20806ce4e4
|
@ -533,6 +533,7 @@ class XMLUtil
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static const char* SkipWhiteSpace( const char* p ) {
|
static const char* SkipWhiteSpace( const char* p ) {
|
||||||
|
TIXMLASSERT(p);
|
||||||
while( IsWhiteSpace(*p) ) {
|
while( IsWhiteSpace(*p) ) {
|
||||||
++p;
|
++p;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue