diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-10-27 16:16:16 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-27 16:35:12 +0200 |
commit | 434824aede28e8c36d6991aa218f89daf2cc22fa (patch) | |
tree | f00760a20a065e5a70d722bd06411c4348c49e16 /src/gui/painting | |
parent | d2aaa13820e400de73e3b0a12af6b7b7c6393d32 (diff) | |
download | qtbase-434824aede28e8c36d6991aa218f89daf2cc22fa.tar.gz |
Fix compiler warnings.
- Fix gcc 4.6.X warnings about assigned but unused variables
- Remove trailing ';' from inline functions (Clang)
Change-Id: I8670afd6b149748a740f22c65de137762e9f18e1
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qcosmeticstroker.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/painting/qcosmeticstroker.cpp b/src/gui/painting/qcosmeticstroker.cpp index 3528e6f215..eb00ec87d8 100644 --- a/src/gui/painting/qcosmeticstroker.cpp +++ b/src/gui/painting/qcosmeticstroker.cpp @@ -518,7 +518,6 @@ void QCosmeticStroker::drawPath(const QVectorPath &path) Q_ASSERT(type == path.elements() || *type == QPainterPath::MoveToElement); QPointF p = QPointF(points[0], points[1]) * state->matrix; - QPointF movedTo = p; patternOffset = state->lastPen.dashOffset()*64; lastPixel.x = -1; |