Skip to content

Commit

Permalink
Fix jump on uninitialized value
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 7, 2017
1 parent c400326 commit c80d84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/geometry/qgscurvepolygon.cpp
Expand Up @@ -554,7 +554,7 @@ void QgsCurvePolygon::removeInteriorRings( double minimumAllowedArea )
delete mInteriorRings.takeAt( ringIndex );
else
{
double area;
double area = 0.0;
mInteriorRings.at( ringIndex )->sumUpArea( area );
if ( area < minimumAllowedArea )
delete mInteriorRings.takeAt( ringIndex );
Expand Down

0 comments on commit c80d84e

Please sign in to comment.