Fix warning: Value stored is never read

Change-Id: Ic41fe1682f19c39faa0a2afc47c11b8a5bead212
This commit is contained in:
Tor Lillqvist
2013-06-19 11:35:00 +03:00
parent ec13a7bdbf
commit a1936e4183

View File

@@ -461,7 +461,7 @@ oslFileError FileHandle_Impl::readFileAt (
if (result != osl_File_E_None)
return (result);
nBytesRequested -= uDone, *pBytesRead += uDone;
*pBytesRead += uDone;
return osl_File_E_None;
}
@@ -533,7 +533,7 @@ oslFileError FileHandle_Impl::writeFileAt (
if (uDone != nBytesToWrite)
return osl_File_E_IO;
nBytesToWrite -= uDone, *pBytesWritten += uDone;
*pBytesWritten += uDone;
return osl_File_E_None;
}