Skip to content

Commit

Permalink
fix some warnings
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@13080 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 19, 2010
1 parent f6e507c commit 010331d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 39 deletions.
38 changes: 2 additions & 36 deletions src/analysis/interpolation/Vector3D.h
Expand Up @@ -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:
Expand Down Expand Up @@ -117,37 +117,3 @@ inline void Vector3D::setZ( double z )
}

#endif


































6 changes: 3 additions & 3 deletions src/analysis/vector/qgszonalstatistics.cpp
Expand Up @@ -137,7 +137,7 @@ int QgsZonalStatistics::calculateStatistics( QProgressDialog* p )

while ( vectorProvider->nextFeature( f ) )
{
qWarning( QString::number( featureCounter ).toLocal8Bit().data() );
qWarning( "%d", featureCounter );
if ( p )
{
p->setValue( featureCounter );
Expand Down Expand Up @@ -338,7 +338,7 @@ void QgsZonalStatistics::statisticsFromMiddlePointTest_improved( void* band, Qgs
}

//debug
char* scanLineIntersectionType = GEOSGeomType( scanLineIntersection );
//char* scanLineIntersectionType = GEOSGeomType( scanLineIntersection );

int numGeoms = GEOSGetNumGeometries( scanLineIntersection );
if ( numGeoms < 1 )
Expand Down Expand Up @@ -372,7 +372,7 @@ void QgsZonalStatistics::statisticsFromMiddlePointTest_improved( void* band, Qgs
{
//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 );
Expand Down

0 comments on commit 010331d

Please sign in to comment.