Kaydet (Commit) 366d6ec0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

clang-analyzer-deadcode.DeadStores

Change-Id: I886253de9980082186c41d361eb5a30e5f3923bc
üst ce92e1e5
...@@ -649,11 +649,11 @@ void DlgEditor::Cut() ...@@ -649,11 +649,11 @@ void DlgEditor::Cut()
void implCopyStreamToByteSequence( Reference< XInputStream > xStream, void implCopyStreamToByteSequence( Reference< XInputStream > xStream,
Sequence< sal_Int8 >& bytes ) Sequence< sal_Int8 >& bytes )
{ {
sal_Int32 nRead = xStream->readBytes( bytes, xStream->available() ); xStream->readBytes( bytes, xStream->available() );
for (;;) for (;;)
{ {
Sequence< sal_Int8 > readBytes; Sequence< sal_Int8 > readBytes;
nRead = xStream->readBytes( readBytes, 1024 ); sal_Int32 nRead = xStream->readBytes( readBytes, 1024 );
if (! nRead) if (! nRead)
break; break;
......
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