aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltypewrapper.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-03-31 20:23:27 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-04-20 04:09:59 +0000
commitca4dbd5675ad3aabffb9fb92f19b53b4c5028981 (patch)
tree80a1c877186f611174d2ee640a23f431fe48cded /src/qml/qml/qqmltypewrapper.cpp
parentaa1524a4dde5098da2c9e40eb60bbaecf69bbe1c (diff)
Address uninitialized pointer variables
Coverity CID 10721, 84861, 86705, 85424, 85422, 85259, 84863, 84857 Change-Id: Ia86970b5ac4e0be9de01b79b618d33011da6a328 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmltypewrapper.cpp')
-rw-r--r--src/qml/qml/qqmltypewrapper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmltypewrapper.cpp b/src/qml/qml/qqmltypewrapper.cpp
index 13266135b3..8a2118ef27 100644
--- a/src/qml/qml/qqmltypewrapper.cpp
+++ b/src/qml/qml/qqmltypewrapper.cpp
@@ -51,6 +51,9 @@ DEFINE_OBJECT_VTABLE(QmlTypeWrapper);
Heap::QmlTypeWrapper::QmlTypeWrapper(ExecutionEngine *engine)
: Heap::Object(engine)
, mode(IncludeEnums)
+ , type(Q_NULLPTR)
+ , typeNamespace(Q_NULLPTR)
+ , importNamespace(Q_NULLPTR)
{
}