Skip to content

Commit

Permalink
Fix cppcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 1, 2021
1 parent a5d1156 commit 9b3b180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -2663,7 +2663,7 @@ bool QgsPostgresProvider::deleteFeatures( const QgsFeatureIds &ids )

QgsFeatureIds chunkIds;
QgsFeatureIds::const_iterator lastId = ids.constEnd();
lastId--;
--lastId;

for ( QgsFeatureIds::const_iterator it = ids.constBegin(); it != ids.constEnd(); ++it )
{
Expand Down

0 comments on commit 9b3b180

Please sign in to comment.