Skip to content
Permalink
Browse files

Fix jump on uninitialized value

  • Loading branch information
nyalldawson committed Feb 7, 2017
1 parent c400326 commit c80d84e9d644038307de6fbfcc85a6ee66170dd3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgscurvepolygon.cpp
@@ -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 );

0 comments on commit c80d84e

Please sign in to comment.
You can’t perform that action at this time.