mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
Fix some minor build warnings.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user