mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
qgsimageoperation.cpp: fix (likely false-positive) warning about potential integer overflow in the loop increment
This commit is contained in:
parent
e2eabe49f9
commit
f11eb45839
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user