[Marble-commits] KDE/kdeedu/marble/src/plugins/render/osmannotate

Patrick Spendrin ps_ml at gmx.de
Mon Jul 20 18:56:21 CEST 2009


SVN commit 999956 by sengels:

do not use values uninitialized

 M  +1 -1      PlacemarkTextAnnotation.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/PlacemarkTextAnnotation.cpp #999955:999956
@@ -55,7 +55,7 @@
 //    painter->drawEllipse(coordinate(), screenBounding().width(), screenBounding().height(), true);
     //Would it not be useful to have a draw latlongbox?
 //    painter->drawRect(geoBounding());
-    qreal north, south, east, west;
+    qreal north = 0, south = 0, east = 0, west = 0;
 
     //don't need this if its done by the painter soon
 //    geoBounding(viewport->angularResolution());


More information about the Marble-commits mailing list