diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 10:28:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:16:04 +0100 |
commit | e0688029e0b0a8e40aabda16c604ef2bc19b949b (patch) | |
tree | de14cf710c444323bd42a01cb2aa5eb0602a33ff /sal/qa/osl | |
parent | 81a053769f2a6798da869ec3e8d93502440917b9 (diff) |
coverity#1079285 Uninitialized scalar field
Change-Id: Icca0d21a67f1322a84220cde3d10acd5230c9fdd
Diffstat (limited to 'sal/qa/osl')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index ba0a3a0a5985..0c0fd5800d61 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -2724,7 +2724,12 @@ namespace osl_File sal_uInt64 nCount_write, nCount_read; public: - read() :nError1(FileBase::E_None) {} + read() + : nError1(FileBase::E_None) + , nCount_write(0) + , nCount_read(0) + { + } // initialization void setUp() SAL_OVERRIDE { |