Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unused
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Jan 17, 2022
1 parent f24042f commit 31bb016
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/geometry/qgsgeometry.cpp
Expand Up @@ -3113,7 +3113,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 @@ -3129,7 +3128,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 31bb016

Please sign in to comment.