Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 30, 2019
1 parent 10c4bb9 commit 0458e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/pal/feature.cpp
Expand Up @@ -1153,7 +1153,7 @@ int FeaturePart::createCurvedCandidatesAlongLine( QList< LabelPosition * > &lPos
std::unique_ptr< double [] > path_distances = qgis::make_unique<double[]>( mapShape->nbPoints );
double total_distance = 0;
double old_x = -1.0, old_y = -1.0;
for ( std::size_t i = 0; i < mapShape->nbPoints; i++ )
for ( int i = 0; i < mapShape->nbPoints; i++ )
{
if ( i == 0 )
path_distances[i] = 0;
Expand Down

0 comments on commit 0458e08

Please sign in to comment.