mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix unused variable warning with clang on Mac
This commit is contained in:
parent
9b54ed443e
commit
8f04d22fc6
@ -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() );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user