diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 11:17:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:16:09 +0100 |
commit | f67b571c3baf14b206f6177d1d7e75a28d068439 (patch) | |
tree | 38c6b327cea9a6ba97a13d1e46c51759db0f0973 /sal | |
parent | 7fd719f9ad0698daa10ccb6b65cfcc9c8d0c2d3c (diff) |
coverity#1079280 Uninitialized scalar field
Change-Id: I57de2b441c6a1d04c0ea54ad4ff1a66989e0cac8
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 b49778a845c1..4c159ab27fc8 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -2368,7 +2368,12 @@ namespace osl_File sal_uInt64 nCount_write, nCount_read; public: - setPos() :nError1(FileBase::E_None) {} + setPos() + : nError1(FileBase::E_None) + , nCount_write(0) + , nCount_read(0) + { + } // initialization void setUp() SAL_OVERRIDE |