diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 16:16:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 16:16:43 +0000 |
commit | c5135af60f4e82fafed4557ae73a4f13435d1d61 (patch) | |
tree | edcb7536786255640480c45282a5addfba06f36a /sax/source | |
parent | be090d5a50d5c38d22303e88c1866c827aeab057 (diff) |
coverity#1158443 Uninitialized pointer field
Change-Id: I1602678c24c1aeec60acee05801e7decc914560f
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 2c18bb2aa05e..ff384f012e01 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -384,10 +384,13 @@ ParserData::~ParserData() // -------------------------------------------------------------------- -Entity::Entity( const ParserData& rData ) : - ParserData( rData ) +Entity::Entity(const ParserData& rData) + : ParserData(rData) + , mnProducedEventsSize(0) + , mpProducedEvents(NULL) + , mbEnableThreads(false) + , mpParser(NULL) { - mpProducedEvents = 0; } Entity::Entity(const Entity& e) |