소스 검색

- BUGFIX: Fix compiler warnings.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@493 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
kimmi 16 년 전
부모
커밋
4ece1c859a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      code/MD5Parser.h

+ 2 - 1
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)	{