From cd0ad2bfcd8f7cefbe0d00c525847d12e8044247 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 23 May 2014 11:17:53 +0100 Subject: coverity#1079281 Uninitialized scalar field Change-Id: I17dc424d485053d3eb09e8eb0dd01dd4b4672bfd --- sal/qa/osl/file/osl_File.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sal/qa') diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index 4c159ab27fc8..4422e2e6cea7 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -2638,7 +2638,12 @@ namespace osl_File sal_uInt64 nCount_write; public: - setSize() :nError1(FileBase::E_None) {} + setSize() + : nError1(FileBase::E_None) + , nCount_write(0) + { + } + // initialization void setUp() SAL_OVERRIDE { -- cgit