[Libreoffice-commits] core.git: sax/source
Caolán McNamara
caolanm at redhat.com
Thu Jan 23 08:15:18 PST 2014
sax/source/fastparser/fastparser.cxx | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
New commits:
commit be090d5a50d5c38d22303e88c1866c827aeab057
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 23 16:14:29 2014 +0000
coverity#1158444 Uninitialized scalar field
Change-Id: I15f6c6288e2a951543702a15e777167f2240899e
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index a3e201c..2c18bb2 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -390,19 +390,20 @@ Entity::Entity( const ParserData& rData ) :
mpProducedEvents = 0;
}
-Entity::Entity( const Entity& e ) :
- ParserData( e )
- ,mbEnableThreads(e.mbEnableThreads)
- ,maStructSource(e.maStructSource)
- ,mpParser(e.mpParser)
- ,maConverter(e.maConverter)
- ,maSavedException(e.maSavedException)
- ,maNamespaceStack(e.maNamespaceStack)
- ,maContextStack(e.maContextStack)
- ,maNamespaceCount(e.maNamespaceCount)
- ,maNamespaceDefines(e.maNamespaceDefines)
+Entity::Entity(const Entity& e)
+ : ParserData(e)
+ , mnProducedEventsSize(0)
+ , mpProducedEvents(NULL)
+ , mbEnableThreads(e.mbEnableThreads)
+ , maStructSource(e.maStructSource)
+ , mpParser(e.mpParser)
+ , maConverter(e.maConverter)
+ , maSavedException(e.maSavedException)
+ , maNamespaceStack(e.maNamespaceStack)
+ , maContextStack(e.maContextStack)
+ , maNamespaceCount(e.maNamespaceCount)
+ , maNamespaceDefines(e.maNamespaceDefines)
{
- mpProducedEvents = 0;
}
Entity::~Entity()
More information about the Libreoffice-commits
mailing list