aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-09-20 13:45:42 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-09-21 14:42:48 +0000
commit1f4056a1e6ad5f440c2ce890ee9b1f76d677d7d8 (patch)
tree118416ca3a3036603eb0d2d6fc965aeb5d8c8bfa /sources/shiboken2
parent4630f179107a2b2548b68b3e7701c16ed2f8d52b (diff)
shiboken: Initialize pointer members of TypedefEntry
Amends 2bfd1de3495b18c0ecc251260442a9a46009861e Task-number: PYSIDE-725 Change-Id: I4adb9022feee954ca65dc60f07bf71bd9b92dc11 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/shiboken2')
-rw-r--r--sources/shiboken2/ApiExtractor/typesystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken2/ApiExtractor/typesystem.h b/sources/shiboken2/ApiExtractor/typesystem.h
index a1e3aea91..128b4f021 100644
--- a/sources/shiboken2/ApiExtractor/typesystem.h
+++ b/sources/shiboken2/ApiExtractor/typesystem.h
@@ -1433,8 +1433,8 @@ protected:
private:
QString m_sourceType;
- ComplexTypeEntry *m_source;
- ComplexTypeEntry *m_target;
+ ComplexTypeEntry *m_source = nullptr;
+ ComplexTypeEntry *m_target = nullptr;
};
class ContainerTypeEntry : public ComplexTypeEntry