mirror of https://github.com/AxioDL/tinyxml2.git
Initialize pointers to satisfy static code analyser.
This commit is contained in:
parent
d6bd7360b8
commit
6189231187
|
@ -581,7 +581,8 @@ XMLNode::XMLNode( XMLDocument* doc ) :
|
||||||
_document( doc ),
|
_document( doc ),
|
||||||
_parent( 0 ),
|
_parent( 0 ),
|
||||||
_firstChild( 0 ), _lastChild( 0 ),
|
_firstChild( 0 ), _lastChild( 0 ),
|
||||||
_prev( 0 ), _next( 0 )
|
_prev( 0 ), _next( 0 ),
|
||||||
|
_memPool( 0 )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1069,7 +1069,7 @@ public:
|
||||||
private:
|
private:
|
||||||
enum { BUF_SIZE = 200 };
|
enum { BUF_SIZE = 200 };
|
||||||
|
|
||||||
XMLAttribute() : _next( 0 ) {}
|
XMLAttribute() : _next( 0 ), _memPool( 0 ) {}
|
||||||
virtual ~XMLAttribute() {}
|
virtual ~XMLAttribute() {}
|
||||||
|
|
||||||
XMLAttribute( const XMLAttribute& ); // not supported
|
XMLAttribute( const XMLAttribute& ); // not supported
|
||||||
|
|
Loading…
Reference in New Issue