summaryrefslogtreecommitdiff
path: root/xmlreader
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-23 17:07:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-23 17:23:20 +0000
commit472bc326305eb4e3a866d189a643ea1c7cb43925 (patch)
tree2e526590e33bab6bd00047d5d9956d3ab6800a43 /xmlreader
parentc4ffca21ff7c020c7df2c6de7cbd16fc20cac989 (diff)
coverity#1158416 Uninitialized pointer field
Change-Id: I5c1b07bd3898e89141fe3c3c8f8b63b81513a97e
Diffstat (limited to 'xmlreader')
-rw-r--r--xmlreader/source/xmlreader.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlreader/source/xmlreader.cxx b/xmlreader/source/xmlreader.cxx
index 3e1d24e24530..81e7a381b5ff 100644
--- a/xmlreader/source/xmlreader.cxx
+++ b/xmlreader/source/xmlreader.cxx
@@ -57,6 +57,8 @@ bool isSpace(char c) {
XmlReader::XmlReader(char const *sStr, size_t nLength)
: fileUrl_("stream")
, fileHandle_(0)
+ , fileSize_(0)
+ , fileAddress_(0)
{
namespaceIris_.push_back(Span("http://www.w3.org/XML/1998/namespace"));
namespaces_.push_back(NamespaceData(Span("xml"), NAMESPACE_XML));