qgsimageoperation.cpp: fix (likely false-positive) warning about potential integer overflow in the loop increment

This commit is contained in:
Even Rouault 2020-06-13 17:30:53 +02:00 committed by Nyall Dawson
parent e2eabe49f9
commit f11eb45839

View File

@ -829,6 +829,7 @@ QRect QgsImageOperation::nonTransparentImageRect( const QImage &image, QSize min
if ( qAlpha( imgScanline[x] ) )
{
xmin = x;
break;
}
}
}
@ -842,6 +843,7 @@ QRect QgsImageOperation::nonTransparentImageRect( const QImage &image, QSize min
if ( qAlpha( imgScanline[x] ) )
{
xmax = x;
break;
}
}
}