浏览代码

Remove unused variable

Albin Bernhardsson 8 年之前
父节点
当前提交
bd6f94b926
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      code/ObjFileParser.cpp

+ 0 - 2
code/ObjFileParser.cpp

@@ -101,8 +101,6 @@ ObjFile::Model *ObjFileParser::GetModel() const {
 // -------------------------------------------------------------------
 //  File parsing method.
 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;
     const unsigned int bytesToProcess = streamBuffer.size();
     const unsigned int progressTotal = 3 * bytesToProcess;