summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-17 11:48:51 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-17 11:49:14 (GMT)
commit3d50220423b96a84f1ca4c0f5ef9246345aad359 (patch)
tree82d66d5da9ae7820abd04577fe6a93a983a5277b /src/gui/painting
parent025a7395153c3708e2964cfd93957532b19ae04f (diff)
downloadQt-3d50220423b96a84f1ca4c0f5ef9246345aad359.zip
Qt-3d50220423b96a84f1ca4c0f5ef9246345aad359.tar.gz
Qt-3d50220423b96a84f1ca4c0f5ef9246345aad359.tar.bz2
Fix coverity warnings
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qpaintengine_raster.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp
index 654870f..d00329b 100644
--- a/src/gui/painting/qpaintengine_raster.cpp
+++ b/src/gui/painting/qpaintengine_raster.cpp
@@ -1022,9 +1022,6 @@ void QRasterPaintEnginePrivate::drawImage(const QPointF &pt,
if (alpha == 0 || !clip.isValid())
return;
- if (alpha ==0)
- return;
-
Q_ASSERT(img.depth() >= 8);
int srcBPL = img.bytesPerLine();