mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 21:35:07 +00:00
Fix some minor build warnings.
This commit is contained in:
parent
347e202f7f
commit
f82b25d4f9
3 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,6 @@ bool DiskDevice::read(DiskOffset offset, unsigned length, byte* out) const
|
|||
dword firstBlock = offset / blockSize();
|
||||
dword endBlock = (offset + length) / blockSize();
|
||||
byte* outptr = out;
|
||||
unsigned remainingCount = length;
|
||||
for (unsigned bi = firstBlock; bi < endBlock; ++bi) {
|
||||
if (!readBlock(bi, outptr))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue