Skip to content
Permalink
Browse files

qgsimageoperation.cpp: fix (likely false-positive) warning about pote…

…ntial integer overflow in the loop increment
  • Loading branch information
rouault authored and nyalldawson committed Jun 15, 2020
1 parent e2eabe4 commit f11eb4583974ca25adf295647073cd5ce9f7a971
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/effects/qgsimageoperation.cpp
@@ -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;
}
}
}

0 comments on commit f11eb45

Please sign in to comment.
You can’t perform that action at this time.