summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-19 16:07:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-19 20:22:52 +0000
commitf8ee482b92638d3acfa944d305f87a34e5fc6e95 (patch)
treeffbddfab0f1c88b4e631d4c13d8f53d5f09f0dbc /l10ntools
parentb0ff06a5bc78839f43c73ac529c91a23293e93e8 (diff)
coverity#984098 Uninitialized pointer field
Change-Id: I671f7c98bdcfa828e7252ec13fd1b6b998ff7a87
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/xmlparse.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index 0431111fd427..1a7559bcde26 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -825,7 +825,9 @@ static OUString lcl_pathnameToAbsoluteUrl(const OString& rPathname)
SimpleXMLParser::SimpleXMLParser()
- : m_pXMLFile( NULL )
+ : m_pXMLFile(NULL)
+ , m_pCurNode(NULL)
+ , m_pCurData(NULL)
{
m_aParser = XML_ParserCreate( NULL );
XML_SetUserData( m_aParser, this );