diff options
author | Martin Jones <martin.jones@nokia.com> | 2012-05-29 09:04:05 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 03:15:27 +0200 |
commit | d4b2f0eec8e328818973c1852c19fc7ef45efb5f (patch) | |
tree | 47d09ed9083a0baf13e019fe733d3d3b55ee4cef /src/qml/qml/qqmlcompiler_p.h | |
parent | 1634d6b3c8aaf51e3a37f5a4a7bf2b72df38a5f6 (diff) |
Initialize data members in QML engine
Found by static analysis. None look suspicious, but worthwhile cleaning
up.
Change-Id: Icb5046eb9e57493a9c68b3509ca0c7f546480b73
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlcompiler_p.h')
-rw-r--r-- | src/qml/qml/qqmlcompiler_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcompiler_p.h b/src/qml/qml/qqmlcompiler_p.h index c5d319c0f0..f63c2cf29b 100644 --- a/src/qml/qml/qqmlcompiler_p.h +++ b/src/qml/qml/qqmlcompiler_p.h @@ -437,7 +437,7 @@ private: // Compiler component statistics. Only collected if QML_COMPILER_STATS=1 struct ComponentStat { - ComponentStat() : ids(0), objects(0) {} + ComponentStat() : lineNumber(0), ids(0), objects(0) {} int lineNumber; |