Browse Source

Update OpenGEXImporter.cpp

Fix compiler warning: remove unused variables.
Kim Kulling 9 years ago
parent
commit
abad093d09
1 changed files with 1 additions and 3 deletions
  1. 1 3
      code/OpenGEXImporter.cpp

+ 1 - 3
code/OpenGEXImporter.cpp

@@ -16,7 +16,7 @@ following disclaimer.
 * Redistributions in binary form must reproduce the above
 * Redistributions in binary form must reproduce the above
 copyright notice, this list of conditions and the
 copyright notice, this list of conditions and the
 following disclaimer in the documentation and/or other
 following disclaimer in the documentation and/or other
-materials provided with the distribution.
+materials provided with the distribution
 
 
 * Neither the name of the assimp team, nor the names of its
 * Neither the name of the assimp team, nor the names of its
 contributors may be used to endorse or promote products
 contributors may be used to endorse or promote products
@@ -552,7 +552,6 @@ void OpenGEXImporter::handleGeometryNode( DDLNode *node, aiScene *pScene ) {
 //------------------------------------------------------------------------------------------------
 //------------------------------------------------------------------------------------------------
 void OpenGEXImporter::handleCameraNode( DDLNode *node, aiScene *pScene ) {
 void OpenGEXImporter::handleCameraNode( DDLNode *node, aiScene *pScene ) {
     aiCamera *camera( new aiCamera );
     aiCamera *camera( new aiCamera );
-    const size_t camIdx( m_cameraCache.size() );
     m_cameraCache.push_back( camera );
     m_cameraCache.push_back( camera );
     m_currentCamera = camera;
     m_currentCamera = camera;
 
 
@@ -571,7 +570,6 @@ void OpenGEXImporter::handleCameraNode( DDLNode *node, aiScene *pScene ) {
 //------------------------------------------------------------------------------------------------
 //------------------------------------------------------------------------------------------------
 void OpenGEXImporter::handleLightNode( ODDLParser::DDLNode *node, aiScene *pScene ) {
 void OpenGEXImporter::handleLightNode( ODDLParser::DDLNode *node, aiScene *pScene ) {
     aiLight *light( new aiLight );
     aiLight *light( new aiLight );
-    const size_t lightIdx( m_lightCache.size() );
     m_lightCache.push_back( light );
     m_lightCache.push_back( light );
     m_currentLight = light;
     m_currentLight = light;