diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 12:43:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 14:43:28 +0000 |
commit | 7e5f4575ed4c7e835b8a41a3b9baff20ba436d04 (patch) | |
tree | 1796a9c4e8211204cd8d761411fa76601f47a717 /tools | |
parent | 3f9d796c41bd2a2590002dd417431c817d7b2290 (diff) |
coverity#708553 Uninitialized scalar field
Change-Id: I73b6127a7e1791392218731a9b9af0795e69222a
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/memtools/multisel.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx index 0a85caa953d4..9aac9de25224 100644 --- a/tools/source/memtools/multisel.cxx +++ b/tools/source/memtools/multisel.cxx @@ -120,6 +120,13 @@ MultiSelection::MultiSelection( const MultiSelection& rOrig ) : { nCurSubSel = rOrig.nCurSubSel; nCurIndex = rOrig.nCurIndex; + bInverseCur = rOrig.bInverseCur; + } + else + { + nCurSubSel = 0; + nCurIndex = 0; + bInverseCur = false; } // copy the sub selections |