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:
jean-pierre charras
2015-12-27 13:16:46 +01:00
parent 415c72262a
commit c4ea4dc0df
8 changed files with 14 additions and 27 deletions
-3
View File
@@ -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 )