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