diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-08 20:19:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-08 20:28:02 +0000 |
commit | 3debbdf80c66e3d8b4e8c13efc88df96cb686331 (patch) | |
tree | 3e36912c7cc4fb435fc902006123a7de4703b34d /io | |
parent | ec689e4561ea300ed1e381eae016b05211601763 (diff) |
coverity#707938 Uninitialized scalar field
Change-Id: Ic76e70a33ed33a94e06faf0168e9a740c736a19e
Diffstat (limited to 'io')
-rw-r--r-- | io/source/stm/omark.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index 970c7e7d5f1c..9489be2da905 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -561,13 +561,13 @@ private: }; OMarkableInputStream::OMarkableInputStream() + : m_bValidStream(false) + , m_nCurrentPos(0) + , m_nCurrentMark(0) { - m_nCurrentPos = 0; - m_nCurrentMark = 0; m_pBuffer = new MemRingBuffer; } - OMarkableInputStream::~OMarkableInputStream() { if( m_pBuffer ) { |