fix 'always true' warning
This commit is contained in:
@@ -1958,7 +1958,6 @@ void XMLDocument::PrintError() const
|
|||||||
TIXML_SNPRINTF( buf2, LEN, "%s", _errorStr2 );
|
TIXML_SNPRINTF( buf2, LEN, "%s", _errorStr2 );
|
||||||
}
|
}
|
||||||
|
|
||||||
TIXMLASSERT( INT_MIN <= _errorID && _errorID <= INT_MAX );
|
|
||||||
printf( "XMLDocument error id=%d '%s' str1=%s str2=%s\n",
|
printf( "XMLDocument error id=%d '%s' str1=%s str2=%s\n",
|
||||||
static_cast<int>( _errorID ), ErrorName(), buf1, buf2 );
|
static_cast<int>( _errorID ), ErrorName(), buf1, buf2 );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user