From e0688029e0b0a8e40aabda16c604ef2bc19b949b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 23 May 2014 10:28:45 +0100 Subject: coverity#1079285 Uninitialized scalar field Change-Id: Icca0d21a67f1322a84220cde3d10acd5230c9fdd --- sal/qa/osl/file/osl_File.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sal/qa/osl') 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 { -- cgit