diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-02 23:35:50 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-02 23:36:45 (GMT) |
commit | eaf436568b2e6870a72e97baf2837d320f5d8ec8 (patch) | |
tree | b6b2eca56f265fcb1d7d348cb9385365db57b04b /src | |
parent | d88f9fbe1522c48dfef153eef768f9eec123ec9e (diff) | |
download | Qt-eaf436568b2e6870a72e97baf2837d320f5d8ec8.zip Qt-eaf436568b2e6870a72e97baf2837d320f5d8ec8.tar.gz Qt-eaf436568b2e6870a72e97baf2837d320f5d8ec8.tar.bz2 |
Initialize variable before use.
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/util/qdeclarativeanimation.cpp | 2 |
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) { |