Skip to content

Commit

Permalink
Avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 13, 2016
1 parent c62a6e7 commit be49097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsmaptopixelgeometrysimplifier.cpp
Expand Up @@ -165,7 +165,7 @@ bool QgsMapToPixelSimplifier::simplifyWkbGeometry(
if ( flatType == QGis::WKBLineString || isaLinearRing )
{
QgsWkbPtr savedTargetWkbPtr( targetWkbPtr );
double x, y, lastX = 0, lastY = 0;
double x = 0.0, y = 0.0, lastX = 0, lastY = 0;
QgsRectangle r;
r.setMinimal();

Expand Down

0 comments on commit be49097

Please sign in to comment.