BuildSystem/Kernel: Enable -Wextra and -Werror in kernel

Only needed to fix some unused variable bugs
This commit is contained in:
2023-11-30 13:41:14 +02:00
parent c1cac43f28
commit 9b841cb823
5 changed files with 9 additions and 5 deletions

View File

@@ -197,7 +197,7 @@ namespace Kernel
LockGuard _(m_lock);
size_t result = first_data_page;
TRY(for_each_indirect_paddr_allocating(m_data_pages, [&] (paddr_t paddr, bool allocated) {
TRY(for_each_indirect_paddr_allocating(m_data_pages, [&] (paddr_t, bool allocated) {
if (allocated)
return BAN::Iteration::Break;
result++;