coverity#1079283 Uninitialized scalar field

Change-Id: Ib849ff0839bba80d5695c0f78dd18448b668ec78
This commit is contained in:
Caolán McNamara
2014-05-23 11:19:19 +01:00
parent 1bbf556fd3
commit fdca2dd57d

View File

@@ -2987,7 +2987,12 @@ namespace osl_File
sal_uInt64 nCount_write; sal_uInt64 nCount_write;
public: public:
copy() :nError1(FileBase::E_None) {} copy()
: nError1(FileBase::E_None)
, nCount_write(0)
{
}
// initialization // initialization
void setUp() SAL_OVERRIDE void setUp() SAL_OVERRIDE
{ {