[QGIS Commit] r13080 - in trunk/qgis/src/analysis: interpolation vector

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Mar 19 08:48:23 EDT 2010


Author: jef
Date: 2010-03-19 08:48:23 -0400 (Fri, 19 Mar 2010)
New Revision: 13080

Modified:
   trunk/qgis/src/analysis/interpolation/Vector3D.h
   trunk/qgis/src/analysis/vector/qgszonalstatistics.cpp
Log:
fix some warnings

Modified: trunk/qgis/src/analysis/interpolation/Vector3D.h
===================================================================
--- trunk/qgis/src/analysis/interpolation/Vector3D.h	2010-03-19 12:45:01 UTC (rev 13079)
+++ trunk/qgis/src/analysis/interpolation/Vector3D.h	2010-03-19 12:48:23 UTC (rev 13080)
@@ -25,8 +25,8 @@
 
 class ANALYSIS_EXPORT Vector3D
     /**
-          Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values. In fact, the class is the same as Point3D. The name 'vector' makes it easier to understand the programs.
-          */
+                  Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values. In fact, the class is the same as Point3D. The name 'vector' makes it easier to understand the programs.
+                  */
 
 {
   protected:
@@ -117,37 +117,3 @@
 }
 
 #endif
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

Modified: trunk/qgis/src/analysis/vector/qgszonalstatistics.cpp
===================================================================
--- trunk/qgis/src/analysis/vector/qgszonalstatistics.cpp	2010-03-19 12:45:01 UTC (rev 13079)
+++ trunk/qgis/src/analysis/vector/qgszonalstatistics.cpp	2010-03-19 12:48:23 UTC (rev 13080)
@@ -137,7 +137,7 @@
 
   while ( vectorProvider->nextFeature( f ) )
   {
-    qWarning( QString::number( featureCounter ).toLocal8Bit().data() );
+    qWarning( "%d", featureCounter );
     if ( p )
     {
       p->setValue( featureCounter );
@@ -338,7 +338,7 @@
     }
 
     //debug
-    char* scanLineIntersectionType = GEOSGeomType( scanLineIntersection );
+    //char* scanLineIntersectionType = GEOSGeomType( scanLineIntersection );
 
     int numGeoms = GEOSGetNumGeometries( scanLineIntersection );
     if ( numGeoms < 1 )
@@ -372,7 +372,7 @@
       {
         //error
       }
-      for ( int k = 0; k < scanLineIntersectionSize; ++k )
+      for ( unsigned int k = 0; k < scanLineIntersectionSize; ++k )
       {
         GEOSCoordSeq_getX( scanLineCoordSequence, k, &currentValue );
         scanLineList.push_back( currentValue );



More information about the QGIS-commit mailing list