- remove self-assignment in MD5Loader.cpp
parent
8f2e816042
commit
67472f3feb
|
@ -187,7 +187,6 @@ void MD5Importer::LoadFileIntoMemory (IOStream* file)
|
||||||
ai_assert(fileSize);
|
ai_assert(fileSize);
|
||||||
|
|
||||||
// allocate storage and copy the contents of the file to a memory buffer
|
// allocate storage and copy the contents of the file to a memory buffer
|
||||||
pScene = pScene;
|
|
||||||
mBuffer = new char[fileSize+1];
|
mBuffer = new char[fileSize+1];
|
||||||
file->Read( (void*)mBuffer, 1, fileSize);
|
file->Read( (void*)mBuffer, 1, fileSize);
|
||||||
iLineNumber = 1;
|
iLineNumber = 1;
|
||||||
|
|
Loading…
Reference in New Issue