Remove unused variable
parent
3b49dfe93e
commit
bd6f94b926
|
@ -101,8 +101,6 @@ ObjFile::Model *ObjFileParser::GetModel() const {
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
// File parsing method.
|
// File parsing method.
|
||||||
void ObjFileParser::parseFile( IOStreamBuffer<char> &streamBuffer ) {
|
void ObjFileParser::parseFile( IOStreamBuffer<char> &streamBuffer ) {
|
||||||
// only update every 100KB or it'll be too slow
|
|
||||||
const unsigned int updateProgressEveryBytes = 100 * 1024;
|
|
||||||
unsigned int progressCounter = 0;
|
unsigned int progressCounter = 0;
|
||||||
const unsigned int bytesToProcess = streamBuffer.size();
|
const unsigned int bytesToProcess = streamBuffer.size();
|
||||||
const unsigned int progressTotal = 3 * bytesToProcess;
|
const unsigned int progressTotal = 3 * bytesToProcess;
|
||||||
|
|
Loading…
Reference in New Issue