Comment out unused variables
authorAlbin Bernhardsson <catscratchesp@gmail.com>
Thu, 24 Nov 2016 13:10:24 +0000 (14:10 +0100)
committerAlbin Bernhardsson <catscratchesp@gmail.com>
Thu, 24 Nov 2016 13:10:24 +0000 (14:10 +0100)
code/ObjFileImporter.cpp

index 97ae299..f074608 100644 (file)
@@ -149,10 +149,10 @@ void ObjFileImporter::InternReadFile( const std::string &file, aiScene* pScene,
     // This next stage takes ~ 1/3th of the total readFile task
     // so should amount for 1/3th of the progress
     // only update every 100KB or it'll be too slow
-    unsigned int progress = 0;
+    /*unsigned int progress = 0;
     unsigned int progressCounter = 0;
     const unsigned int updateProgressEveryBytes = 100 * 1024;
-    const unsigned int progressTotal = (3*m_Buffer.size()/updateProgressEveryBytes);
+    const unsigned int progressTotal = (3*m_Buffer.size()/updateProgressEveryBytes);*/
     // process all '\'
     /*std::vector<char> ::iterator iter = m_Buffer.begin();
     while (iter != m_Buffer.end())