Fix some minor build warnings.

This commit is contained in:
Andreas Kling 2018-10-17 16:48:16 +02:00
parent 347e202f7f
commit f82b25d4f9
Notes: sideshowbarker 2024-07-19 18:46:56 +09:00
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;