Skip to content

Commit c5947aa

Browse files
committed
[GRASS] fixed travis warnings
1 parent 407d374 commit c5947aa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/providers/grass/qgsgrassprovider.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,11 +1353,14 @@ void QgsGrassProvider::onFeatureAdded( QgsFeatureId fid )
13531353
{
13541354
if ( !mEditBuffer->addedFeatures().contains( fid ) )
13551355
{
1356+
#ifdef QGISDEBUG
13561357
QgsDebugMsg( "the feature is missing in buffer addedFeatures :" );
1358+
13571359
Q_FOREACH ( QgsFeatureId id, mEditBuffer->addedFeatures().keys() )
13581360
{
13591361
QgsDebugMsg( QString( "addedFeatures : id = %1" ).arg( id ) );
13601362
}
1363+
#endif
13611364
return;
13621365
}
13631366
QgsFeature feature = mEditBuffer->addedFeatures().value( fid );
@@ -1602,16 +1605,21 @@ void QgsGrassProvider::onGeometryChanged( QgsFeatureId fid, QgsGeometry &geom )
16021605

16031606
void QgsGrassProvider::onAttributeValueChanged( QgsFeatureId fid, int idx, const QVariant &value )
16041607
{
1608+
Q_UNUSED( fid )
1609+
Q_UNUSED( idx )
1610+
Q_UNUSED( value )
16051611
QgsDebugMsg( QString( "fid = %1 idx = %2 value = %3" ).arg( fid ).arg( idx ).arg( value.toString() ) );
16061612
}
16071613

16081614
void QgsGrassProvider::onAttributeAdded( int idx )
16091615
{
1616+
Q_UNUSED( idx )
16101617
QgsDebugMsg( QString( "idx = %1" ).arg( idx ) );
16111618
}
16121619

16131620
void QgsGrassProvider::onAttributeDeleted( int idx )
16141621
{
1622+
Q_UNUSED( idx )
16151623
QgsDebugMsg( QString( "idx = %1" ).arg( idx ) );
16161624
}
16171625

0 commit comments

Comments
 (0)