summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-23 11:17:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-23 14:16:09 +0100
commitcd0ad2bfcd8f7cefbe0d00c525847d12e8044247 (patch)
treebe4f5bc0ab17646fd3c185bbb700703b8eb4e167 /sal
parentf67b571c3baf14b206f6177d1d7e75a28d068439 (diff)
coverity#1079281 Uninitialized scalar field
Change-Id: I17dc424d485053d3eb09e8eb0dd01dd4b4672bfd
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/file/osl_File.cxx7
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 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
{