diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 12:39:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 14:43:27 +0000 |
commit | 69f106cc35afc42bb00ff123982b31382149a354 (patch) | |
tree | e2906265b2a51d8f5234b745e2895764245611bf /tools | |
parent | coverity#708547 Uninitialized scalar field (diff) | |
download | core-69f106cc35afc42bb00ff123982b31382149a354.tar.gz core-69f106cc35afc42bb00ff123982b31382149a354.zip |
coverity#708548 Uninitialized pointer field
Change-Id: I7c4326bee7a781cf512c112b78ddf420a834ca15
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/inet/inetstrm.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx index 584d43da6eaa..71c8e474b1df 100644 --- a/tools/source/inet/inetstrm.cxx +++ b/tools/source/inet/inetstrm.cxx @@ -145,11 +145,13 @@ int INetOStream::Write(const sal_Char* pData, sal_uIntPtr nSize) // INetMessageIStream INetMessageIStream::INetMessageIStream(sal_uIntPtr nBufferSize) - : pSourceMsg (NULL), - bHeaderGenerated (false), - nBufSiz (nBufferSize), - pMsgStrm (NULL), - pMsgBuffer (new SvMemoryStream) + : pSourceMsg(NULL) + , bHeaderGenerated(false) + , nBufSiz(nBufferSize) + , pMsgStrm(NULL) + , pMsgBuffer(new SvMemoryStream) + , pMsgRead(NULL) + , pMsgWrite(NULL) { pMsgBuffer->SetStreamCharSet(RTL_TEXTENCODING_ASCII_US); pBuffer = new sal_Char[nBufSiz]; |