From: Gunnar Sletta Date: Thu, 11 Aug 2011 05:38:55 +0000 (+0200) Subject: Remove initialization warnings X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=65b69351834efe423f7c9f1e85964db8af294394;p=konrad%2Fqtdeclarative.git Remove initialization warnings Change-Id: Ie11a91034174b248b564fa5d8af8905a79b6eacf Reviewed-on: http://codereview.qt.nokia.com/2841 Reviewed-by: Qt Sanity Bot Reviewed-by: Kim M. Kalland --- diff --git a/src/declarative/scenegraph/coreapi/qsgnode.cpp b/src/declarative/scenegraph/coreapi/qsgnode.cpp index c7b104f..4779b00 100644 --- a/src/declarative/scenegraph/coreapi/qsgnode.cpp +++ b/src/declarative/scenegraph/coreapi/qsgnode.cpp @@ -84,13 +84,13 @@ static void qt_print_node_count() QSGNode::QSGNode() : m_parent(0) , m_type(BasicNodeType) - , m_subtreeGeometryCount(0) - , m_nodeFlags(OwnedByParent) - , m_flags(0) , m_firstChild(0) , m_lastChild(0) , m_nextSibling(0) , m_previousSibling(0) + , m_subtreeGeometryCount(0) + , m_nodeFlags(OwnedByParent) + , m_flags(0) { init(); } @@ -98,13 +98,13 @@ QSGNode::QSGNode() QSGNode::QSGNode(NodeType type) : m_parent(0) , m_type(type) - , m_subtreeGeometryCount(type == GeometryNodeType ? 1 : 0) - , m_nodeFlags(OwnedByParent) - , m_flags(0) , m_firstChild(0) , m_lastChild(0) , m_nextSibling(0) , m_previousSibling(0) + , m_subtreeGeometryCount(type == GeometryNodeType ? 1 : 0) + , m_nodeFlags(OwnedByParent) + , m_flags(0) { init(); }