CodeQuality improvements
Several small code improvements based on a cppcheck result
This commit is contained in:
@@ -209,7 +209,7 @@ void LWOImporter::InternReadFile( const std::string& pFile,
|
||||
// we need to check now whether the requested layer has been found.
|
||||
if (UINT_MAX != configLayerIndex) {
|
||||
unsigned int layerCount = 0;
|
||||
for(std::list<LWO::Layer>::iterator itLayers=mLayers->begin(); itLayers!=mLayers->end(); itLayers++)
|
||||
for(std::list<LWO::Layer>::iterator itLayers=mLayers->begin(); itLayers!=mLayers->end(); ++itLayers)
|
||||
if (!itLayers->skip)
|
||||
layerCount++;
|
||||
if (layerCount!=2)
|
||||
|
||||
Reference in New Issue
Block a user