Kaydet (Commit) c8117c46 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708413 Uninitialized scalar field

Change-Id: Id4ffee405f4047845223a53595f08c5bcd86b52a
üst a506455b
......@@ -435,7 +435,7 @@ void CompareData::CheckForChangesInLine( const CompareData& ,
}
Hash::Hash( sal_uLong nSize )
: nCount( 1 )
: nCount(1)
{
static const sal_uLong primes[] =
......@@ -471,6 +471,7 @@ static const sal_uLong primes[] =
pDataArr[0].nNext = 0;
pDataArr[0].nHash = 0,
pDataArr[0].pLine = 0;
nPrime = primes[0];
for( i = 0; primes[i] < nSize / 3; i++)
if( !primes[i] )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment