coverity#1266457 Identical code for different branches
Change-Id: I809ad43ad4541e4dcd5c245b469d30605f9f0d27
This commit is contained in:
parent
2b95714814
commit
818c2021d1
@ -215,10 +215,7 @@ bool SbiBuffer::operator +=( sal_uInt32 n )
|
|||||||
{
|
{
|
||||||
sal_uInt16 n1 = static_cast<sal_uInt16>( n & 0xFFFF );
|
sal_uInt16 n1 = static_cast<sal_uInt16>( n & 0xFFFF );
|
||||||
sal_uInt16 n2 = static_cast<sal_uInt16>( n >> 16 );
|
sal_uInt16 n2 = static_cast<sal_uInt16>( n >> 16 );
|
||||||
if ( operator +=( n1 ) && operator +=( n2 ) )
|
operator +=(n1) && operator +=(n2);
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user