diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 09:32:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 11:36:23 +0000 |
commit | 42c2dd5ec06a2b2a52ca5d2e9e40d075c747f6d9 (patch) | |
tree | cf87cc92540e86b9f6794ad27a345cd719977bfe /sal | |
parent | 1e7891c103f01f68924817bc02bda892311806fa (diff) |
coverity#1079286 Uninitialized pointer field
Change-Id: Iaaab025a97d01b248f4478989d6cdfdc8664ba79
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index dabfabe7c954..17607a6cff09 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -1354,8 +1354,16 @@ namespace osl_FileBase ::rtl::OUString *pUStr_DirURL; ::rtl::OUString *pUStr_FileURL; - public: - createTempFile() :nError1(FileBase::E_None),nError2(FileBase::E_None) {} + public: + createTempFile() + : nError1(FileBase::E_None) + , nError2(FileBase::E_None) + , bOK(false) + , pHandle(NULL) + , pUStr_DirURL(NULL) + , pUStr_FileURL(NULL) + { + } // initialization void setUp() |