diff --git a/rtengine/spot.cc b/rtengine/spot.cc index cd19cc62a..6ef0ba5e0 100644 --- a/rtengine/spot.cc +++ b/rtengine/spot.cc @@ -400,7 +400,6 @@ void ImProcFunctions::removeSpots (Imagefloat* img, ImageSource* imgsrc, const s || !srcSpotBox->imageIntersects(*dstSpotBox, true)) { continue; - ++i; } // If spot intersect the preview image, add it to the visible spots