Fix some warnings (looking like potential bugs) detected by cppcheck, (a few from a patch from Julien Nabet <[email protected]>), remove not used vars and a few coding style fixes.
This commit is contained in:
@@ -1592,9 +1592,6 @@ int VRML_LAYER::checkNContours( bool holes )
|
||||
if( contours.empty() )
|
||||
return 0;
|
||||
|
||||
std::list<int>::const_iterator begin;
|
||||
std::list<int>::const_iterator end;
|
||||
|
||||
for( size_t i = 0; i < contours.size(); ++i )
|
||||
{
|
||||
if( contours[i]->size() < 3 )
|
||||
|
||||
Reference in New Issue
Block a user