diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 11:11:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:16:08 +0100 |
commit | c755ddf70bc06c841354458ff131c681291eadd7 (patch) | |
tree | 05e9f4ddc603105637dd67837111703c103d59f6 /sal | |
parent | 748c65b1f19d5e7426cf93c82bcc5d2de4fcf2b8 (diff) |
coverity#1079277 Uninitialized scalar field
Change-Id: Ic7c05f298fec49f1336ab55dde31574a39ebe73b
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 c5ffa7080146..d51cb9337363 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -2815,7 +2815,13 @@ namespace osl_File sal_uInt64 nCount_write, nCount_read; public: - write() :nError1(FileBase::E_None) {} + write() + : nError1(FileBase::E_None) + , nCount_write(0) + , nCount_read(0) + { + } + // initialization void setUp() SAL_OVERRIDE { |