[Marble-commits] KDE/kdeedu/marble/src/lib

Dennis Nienhüser earthwings at gentoo.org
Sun Nov 7 11:04:51 CET 2010


SVN commit 1193831 by nienhueser:

Fix compiler warnings (unused variables).

 M  +3 -0      AtmosphereLayer.cpp  
 M  +3 -0      FogLayer.cpp  
 M  +3 -0      MeasureTool.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/AtmosphereLayer.cpp #1193830:1193831
@@ -29,6 +29,9 @@
                               const QString &renderPos,
                               GeoSceneLayer *layer )
 {
+    Q_UNUSED(renderPos)
+    Q_UNUSED(layer)
+
     // Only draw an atmosphere if projection is spherical
     if ( viewParams->projection() != Spherical )
         return true;
--- trunk/KDE/kdeedu/marble/src/lib/FogLayer.cpp #1193830:1193831
@@ -29,6 +29,9 @@
                        const QString &renderPos,
                        GeoSceneLayer *layer )
 {
+    Q_UNUSED(renderPos)
+    Q_UNUSED(layer)
+
     if ( viewParams->projection() != Spherical)
         return true;
 
--- trunk/KDE/kdeedu/marble/src/lib/MeasureTool.cpp #1193830:1193831
@@ -56,6 +56,9 @@
                           const QString& renderPos,
                           GeoSceneLayer * layer )
 {
+    Q_UNUSED(renderPos)
+    Q_UNUSED(layer)
+
     // FIXME: Add this stuff into the Layermanager as something to be 
     // called before the float items.
 


More information about the Marble-commits mailing list