diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-26 13:29:01 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-26 13:30:12 (GMT) |
commit | 068cfc2452d4b558f0276e371c67a821bc3bcfbd (patch) | |
tree | 18674720d8769d2aac5749d068e639c0038eb00a /src/gui/painting | |
parent | 4def9f12bec58e6c952361aac946fca80c27a3be (diff) | |
download | Qt-068cfc2452d4b558f0276e371c67a821bc3bcfbd.zip Qt-068cfc2452d4b558f0276e371c67a821bc3bcfbd.tar.gz Qt-068cfc2452d4b558f0276e371c67a821bc3bcfbd.tar.bz2 |
Silence trivial warnings
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qpaintengine_raster.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp index 37a88a3..4c35004 100644 --- a/src/gui/painting/qpaintengine_raster.cpp +++ b/src/gui/painting/qpaintengine_raster.cpp @@ -3353,6 +3353,7 @@ void QRasterPaintEngine::drawTextItem(const QPointF &p, const QTextItem &textIte break; default: Q_ASSERT(false); + depth = 0; }; for(int i = 0; i < glyphs.size(); i++) { @@ -3380,6 +3381,7 @@ void QRasterPaintEngine::drawTextItem(const QPointF &p, const QTextItem &textIte break; default: Q_ASSERT(false); + pitch = 0; }; alphaPenBlt(glyph->data, pitch, depth, |