From 4ece1c859a52a410100206fb0599abb5300dcf85 Mon Sep 17 00:00:00 2001 From: kimmi Date: Sun, 11 Oct 2009 11:32:04 +0000 Subject: [PATCH] - BUGFIX: Fix compiler warnings. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@493 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/MD5Parser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/MD5Parser.h b/code/MD5Parser.h index ab68a735e..3d21196df 100644 --- a/code/MD5Parser.h +++ b/code/MD5Parser.h @@ -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) {