mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-01 16:58:52 +00:00
Fix some minor build warnings.
This commit is contained in:
parent
347e202f7f
commit
f82b25d4f9
Notes:
sideshowbarker
2024-07-19 18:46:56 +09:00
Author: https://github.com/awesomekling
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