summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-08-24 12:50:29 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-08-24 13:07:56 +0200
commitdb0ebfd97d14bf3c537957d9642ba014318f8418 (patch)
tree9a3fc156b4041de60d0c788806ed255d6ee356ac /src/xmlpatterns
parent05fff98a2434e505ebe077ece7cb070436aae4d4 (diff)
Fixed compile error with gcc 4.3.3
Don't initialize the members of BasicNodeData. They don't need to be initialized, and m_kind has no sane default value anyway. Reviewed-by: Frans Englich <frans.englich@nokia.com>
Diffstat (limited to 'src/xmlpatterns')
-rw-r--r--src/xmlpatterns/acceltree/qacceltree_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/acceltree/qacceltree_p.h b/src/xmlpatterns/acceltree/qacceltree_p.h
index cebc6bd95a..d91fdf4fa0 100644
--- a/src/xmlpatterns/acceltree/qacceltree_p.h
+++ b/src/xmlpatterns/acceltree/qacceltree_p.h
@@ -128,8 +128,8 @@ namespace QPatternist
class BasicNodeData
{
public:
+ /* No need to initialize the members. See AccelTreeBuilder. */
inline BasicNodeData()
- : m_parent(0), m_size(0), m_depth(0), m_kind(0)
{
}