clang-analyzer-deadcode.DeadStores
Change-Id: I886253de9980082186c41d361eb5a30e5f3923bc
This commit is contained in:
parent
ce92e1e518
commit
366d6ec035
@ -649,11 +649,11 @@ void DlgEditor::Cut()
|
||||
void implCopyStreamToByteSequence( Reference< XInputStream > xStream,
|
||||
Sequence< sal_Int8 >& bytes )
|
||||
{
|
||||
sal_Int32 nRead = xStream->readBytes( bytes, xStream->available() );
|
||||
xStream->readBytes( bytes, xStream->available() );
|
||||
for (;;)
|
||||
{
|
||||
Sequence< sal_Int8 > readBytes;
|
||||
nRead = xStream->readBytes( readBytes, 1024 );
|
||||
sal_Int32 nRead = xStream->readBytes( readBytes, 1024 );
|
||||
if (! nRead)
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user