diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 11:18:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:16:10 +0100 |
commit | 1bbf556fd32db23266b074b85e9932f98c3a61ee (patch) | |
tree | deccd92e3a60ff2f0ef0572d365e0b511d5812d3 /sal | |
parent | cd0ad2bfcd8f7cefbe0d00c525847d12e8044247 (diff) |
coverity#1079282 Uninitialized scalar field
Change-Id: If20b1108af89dec75d8c6a232290ab28e51d09d4
Diffstat (limited to 'sal')
-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 4422e2e6cea7..61830ec5e740 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -2546,7 +2546,12 @@ namespace osl_File sal_uInt64 nCount_write; public: - isEndOfFile() :nError1(FileBase::E_None) {} + isEndOfFile() + : nError1(FileBase::E_None) + , nCount_write(0) + { + } + // initialization void setUp() SAL_OVERRIDE { |