Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
(cherry picked from commit 0458e08)
  • Loading branch information
nyalldawson committed Jun 10, 2019
1 parent 435466c commit abb6a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/pal/feature.cpp
Expand Up @@ -1152,7 +1152,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 abb6a4a

Please sign in to comment.