Skip to content
Permalink
Browse files

Fix cppcheck warning

  • Loading branch information
nyalldawson committed Apr 1, 2021
1 parent a5d1156 commit 9b3b1803af815b118244468984bf3f6613b486cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -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 )
{

0 comments on commit 9b3b180

Please sign in to comment.