diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-11-05 09:22:11 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-11-05 19:21:39 +0100 |
commit | e703f4170e851da50fad14df9fdd5a923bacf7e8 (patch) | |
tree | 892899213da9760a903e73091b94f9f27f515161 /src/quick/scenegraph/qsgcontext.cpp | |
parent | b74268ef3e82f0fb9c1ed5392efd0e19c08ee5d5 (diff) |
Initialize member variable QSGAnimationDriver::m_lag.
Fixes purify warning:
[W] UMR: Uninitialized memory read in QSGAnimationDriver::advance(void) {1 occurrence}
QSGAnimationDriver::advance(void) [qtdeclarative\src\quick\scenegraph\qsgcontext.cpp:221]
Task-number: QTBUG-42213
Change-Id: Ide35830c60c5935644747da5cfbad1cdbd357232
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgcontext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgcontext.cpp b/src/quick/scenegraph/qsgcontext.cpp index b5bdbde3ad..90102f1110 100644 --- a/src/quick/scenegraph/qsgcontext.cpp +++ b/src/quick/scenegraph/qsgcontext.cpp @@ -161,6 +161,7 @@ public: , m_time(0) , m_vsync(0) , m_mode(VSyncMode) + , m_lag(0) , m_bad(0) , m_good(0) { |