diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-08 20:20:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-08 20:28:02 +0000 |
commit | 00715826feeaa8c37c27f6da41fffaedf82480c1 (patch) | |
tree | d2976b0b6e5da38f77a3b0d4ffc1f82fe6c4a599 /io | |
parent | 3debbdf80c66e3d8b4e8c13efc88df96cb686331 (diff) |
coverity#707939 Uninitialized scalar field
Change-Id: I5cbb4e2fef4361085840c914e26bb494566a4600
Diffstat (limited to 'io')
-rw-r--r-- | io/source/stm/omark.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index 9489be2da905..4e43b932bb74 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -147,10 +147,11 @@ private: }; OMarkableOutputStream::OMarkableOutputStream( ) + : m_bValidStream(false) + , m_nCurrentPos(0) + , m_nCurrentMark(0) { m_pBuffer = new MemRingBuffer; - m_nCurrentPos = 0; - m_nCurrentMark = 0; } OMarkableOutputStream::~OMarkableOutputStream() |