All: Fix a lot of compiler warnings from header files
While reworking build system, header files started to report warnings.
This commit is contained in:
@@ -212,9 +212,10 @@ namespace Kernel
|
||||
return valid_entry_count;
|
||||
}
|
||||
|
||||
BAN::ErrorOr<size_t> FATInode::read_impl(off_t offset, BAN::ByteSpan buffer)
|
||||
BAN::ErrorOr<size_t> FATInode::read_impl(off_t s_offset, BAN::ByteSpan buffer)
|
||||
{
|
||||
ASSERT(offset >= 0);
|
||||
ASSERT(s_offset >= 0);
|
||||
uint32_t offset = s_offset;
|
||||
|
||||
if (offset >= m_entry.file_size)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user