Skip to content
Permalink
Browse files

Fix warnings

  • Loading branch information
m-kuhn committed Jan 15, 2014
1 parent 8fb87f1 commit 84fe6762f9f08c99e11ca10c0452a10d4d241af4
@@ -1106,6 +1106,6 @@ void QgsVectorLayerProperties::on_mSimplifyDrawingGroupBox_toggled( bool checked
}
else
{
mSimplifyDrawingAtProvider->setEnabled( mSimplifyDrawingGroupBox->isChecked() );
mSimplifyDrawingAtProvider->setEnabled( checked );
}
}
@@ -121,6 +121,7 @@ bool QgsAbstractFeatureIterator::prepareSimplification( const QgsSimplifyMethod&

bool QgsAbstractFeatureIterator::providerCanSimplify( QgsSimplifyMethod::MethodType methodType ) const
{
Q_UNUSED( methodType )
return false;
}

@@ -94,6 +94,7 @@ OGRRawPoint* QgsOgrMapToPixelSimplifier::mallocPoints( int numPoints )
//! Simplifies the OGR-geometry (Removing duplicated points) when is applied the specified map2pixel context
bool QgsOgrMapToPixelSimplifier::simplifyOgrGeometry( QGis::GeometryType geometryType, const QgsRectangle& envelope, double* xptr, int xStride, double* yptr, int yStride, int pointCount, int& pointSimplifiedCount )
{
Q_UNUSED( envelope )
bool canbeGeneralizable = ( mSimplifyFlags & QgsMapToPixelSimplifier::SimplifyGeometry );

pointSimplifiedCount = pointCount;

3 comments on commit 84fe676

@ahuarte47

This comment has been minimized.

Copy link
Contributor

@ahuarte47 ahuarte47 replied Jan 15, 2014

Thanks @Matthias-Kuhn, I dont know how trace this UNUSED warnings

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Jan 15, 2014

It's a gcc thing. I don't know if there's a possibility to track that with VS. But if not, there's no reason to worry.

@ahuarte47

This comment has been minimized.

Copy link
Contributor

@ahuarte47 ahuarte47 replied Jan 15, 2014

Thanks, I study it

Please sign in to comment.
You can’t perform that action at this time.