- BUGFIX: Fix compiler warnings.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@493 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2009-10-11 11:32:04 +00:00
parent a61411d4b4
commit 4ece1c859a
1 changed files with 2 additions and 1 deletions

View File

@ -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) {