From bd6f94b9267ba2dcdadb0484d353c3b891667f44 Mon Sep 17 00:00:00 2001 From: Albin Bernhardsson Date: Thu, 24 Nov 2016 14:15:13 +0100 Subject: [PATCH] Remove unused variable --- code/ObjFileParser.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/ObjFileParser.cpp b/code/ObjFileParser.cpp index 7371b2d81..ddab8f786 100644 --- a/code/ObjFileParser.cpp +++ b/code/ObjFileParser.cpp @@ -101,8 +101,6 @@ ObjFile::Model *ObjFileParser::GetModel() const { // ------------------------------------------------------------------- // File parsing method. void ObjFileParser::parseFile( IOStreamBuffer &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;