1
Fork 0
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:
Andreas Kling 2018-10-17 16:48:16 +02:00
parent 347e202f7f
commit f82b25d4f9
3 changed files with 3 additions and 2 deletions

View file

@ -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;