diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-05-21 13:41:43 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-21 15:54:40 +0200 |
commit | 16d19743823a6d8eb5cf7789e0e1420c09faab63 (patch) | |
tree | 6d537eeaa46c931e53e289dfda306dba3f52430d /src/qml/qml/qqmlcompiler.cpp | |
parent | 5a0250d2c54b9ef03d57502cdb0a4de3be5b862f (diff) |
QtDeclarative: Fix warnings about uninitialized variables.
Change-Id: Ie918f1e813b243b250cedfc2e94e9c66288d08e3
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlcompiler.cpp')
-rw-r--r-- | src/qml/qml/qqmlcompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcompiler.cpp b/src/qml/qml/qqmlcompiler.cpp index 54035fcccf..47a5672a30 100644 --- a/src/qml/qml/qqmlcompiler.cpp +++ b/src/qml/qml/qqmlcompiler.cpp @@ -2540,7 +2540,7 @@ bool QQmlCompiler::testQualifiedEnumAssignment(QQmlScript::Property *prop, return true; QString enumValue = parts.at(1); - int value; + int value = 0; bool ok; if (toQmlType(obj) == type) { |