diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 10:29:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:16:04 +0100 |
commit | 3c5f582e635357f5820edd65d98d060734efa272 (patch) | |
tree | 030102acc4358c46c805d8ca6fd25d8d8e95d6b6 /sal | |
parent | e0688029e0b0a8e40aabda16c604ef2bc19b949b (diff) |
coverity#1079284 Uninitialized scalar field
Change-Id: I0d39b2c7b39761fb89b9e7787fd3145ff3daa3a4
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index 0c0fd5800d61..c5ffa7080146 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -3086,7 +3086,13 @@ namespace osl_File sal_uInt64 nCount_write; public: - move() :nError1(FileBase::E_None),nError2(FileBase::E_None) {} + move() + : nError1(FileBase::E_None) + , nError2(FileBase::E_None) + , nCount_write(0) + { + } + // initialization void setUp() SAL_OVERRIDE { |