Fix some compiler warnings

This commit is contained in:
JamesJCode
2024-10-03 07:11:59 +01:00
parent 7abc0b9839
commit 95bbcaffbf
4 changed files with 6 additions and 10 deletions
-3
View File
@@ -1874,7 +1874,6 @@ bool VRML_LAYER::Get3DTriangles( std::vector< double >& aVertexList,
// compile indices for the walls joining top to bottom
int lastPoint;
int curPoint;
int curContour = 0;
std::list< std::list< int >* >::const_iterator obeg = outline.begin();
std::list< std::list< int >* >::const_iterator oend = outline.end();
@@ -1891,7 +1890,6 @@ bool VRML_LAYER::Get3DTriangles( std::vector< double >& aVertexList,
if( cp->size() < 3 )
{
++obeg;
++curContour;
continue;
}
@@ -1956,7 +1954,6 @@ bool VRML_LAYER::Get3DTriangles( std::vector< double >& aVertexList,
}
++obeg;
++curContour;
}
return true;