- BUGFIX: Fix compiler warnings.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@493 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
a61411d4b4
commit
4ece1c859a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue