diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 13:22:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 16:35:48 +0000 |
commit | 5d4f20a09ff53cbd0cbadbcc063eee5b576d7339 (patch) | |
tree | 466255d7c7fbd47625ef03560909977775120c93 /include/xmlreader | |
parent | 8b6926b93979bba26407d839cebdd2c9f770c83b (diff) |
coverity#708726 Uninitialized scalar field
Change-Id: Idaa6cfffe33d4ab9451e322fcdbdbf5ad0e7629b
Diffstat (limited to 'include/xmlreader')
-rw-r--r-- | include/xmlreader/xmlreader.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xmlreader/xmlreader.hxx b/include/xmlreader/xmlreader.hxx index 4ffc84e749fd..716c6c7300a0 100644 --- a/include/xmlreader/xmlreader.hxx +++ b/include/xmlreader/xmlreader.hxx @@ -84,7 +84,8 @@ private: Span prefix; int nsId; - NamespaceData() {} + NamespaceData(): + nsId(-1) {} NamespaceData(Span const & thePrefix, int theNsId): prefix(thePrefix), nsId(theNsId) {} |