git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@493 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
@@ -424,7 +424,8 @@ private:
bool SkipSpacesAndLineEnd( const char* in, const char** out)
{
bool bHad = false;
- while (true) {
+ bool running = true;
+ while (running) {
if( *in == '\r' || *in == '\n') {
// we open files in binary mode, so there could be \r\n sequences ...
if (!bHad) {