Skip to content

Commit

Permalink
Unused
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 17, 2022
1 parent 3403ab2 commit 3512661
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/geometry/qgsgeometry.cpp
Expand Up @@ -3200,7 +3200,6 @@ static bool vertexIndexInfo( const QgsAbstractGeometry *g, int vertexIndex, int
if ( const QgsGeometryCollection *geomCollection = qgsgeometry_cast<const QgsGeometryCollection *>( g ) )
{
partIndex = 0;
int offset = 0;
for ( int i = 0; i < geomCollection->numGeometries(); ++i )
{
const QgsAbstractGeometry *part = geomCollection->geometryN( i );
Expand All @@ -3216,7 +3215,6 @@ static bool vertexIndexInfo( const QgsAbstractGeometry *g, int vertexIndex, int
return vertexIndexInfo( part, vertexIndex, nothing, ringIndex, vertex ); // set ring_index + index
}
vertexIndex -= numPoints;
offset += numPoints;
partIndex++;
}
}
Expand Down

0 comments on commit 3512661

Please sign in to comment.