diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 17:07:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 17:23:20 +0000 |
commit | 472bc326305eb4e3a866d189a643ea1c7cb43925 (patch) | |
tree | 2e526590e33bab6bd00047d5d9956d3ab6800a43 /xmlreader | |
parent | c4ffca21ff7c020c7df2c6de7cbd16fc20cac989 (diff) |
coverity#1158416 Uninitialized pointer field
Change-Id: I5c1b07bd3898e89141fe3c3c8f8b63b81513a97e
Diffstat (limited to 'xmlreader')
-rw-r--r-- | xmlreader/source/xmlreader.cxx | 2 |
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)); |