summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-02 23:35:50 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-02 23:36:45 (GMT)
commiteaf436568b2e6870a72e97baf2837d320f5d8ec8 (patch)
treeb6b2eca56f265fcb1d7d348cb9385365db57b04b /src/declarative
parentd88f9fbe1522c48dfef153eef768f9eec123ec9e (diff)
downloadQt-eaf436568b2e6870a72e97baf2837d320f5d8ec8.zip
Qt-eaf436568b2e6870a72e97baf2837d320f5d8ec8.tar.gz
Qt-eaf436568b2e6870a72e97baf2837d320f5d8ec8.tar.bz2
Initialize variable before use.
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/util/qdeclarativeanimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp
index ebf1a20..7f4f1c0 100644
--- a/src/declarative/util/qdeclarativeanimation.cpp
+++ b/src/declarative/util/qdeclarativeanimation.cpp
@@ -2225,7 +2225,7 @@ struct PropertyUpdater : public QDeclarativeBulkValueUpdater
bool fromSourced;
bool fromDefined;
bool *wasDeleted;
- PropertyUpdater() : wasDeleted(0) {}
+ PropertyUpdater() : prevInterpolatorType(0), wasDeleted(0) {}
~PropertyUpdater() { if (wasDeleted) *wasDeleted = true; }
void setValue(qreal v)
{