Fix unused variable warning with clang on Mac

This commit is contained in:
Larry Shaffer 2015-10-07 14:32:34 -06:00
parent 9b54ed443e
commit 8f04d22fc6

View File

@ -47,6 +47,7 @@ void QgsVectorLayerUndoCommandAddFeature::undo()
#ifdef QGISDEBUG
QgsFeatureMap::const_iterator it = mBuffer->mAddedFeatures.find( mFeature.id() );
Q_ASSERT( it != mBuffer->mAddedFeatures.end() );
Q_UNUSED( it );
#endif
mBuffer->mAddedFeatures.remove( mFeature.id() );