summaryrefslogtreecommitdiff
path: root/Libraries/LibC/sched.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibC/sched.cpp')
-rw-r--r--Libraries/LibC/sched.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Libraries/LibC/sched.cpp b/Libraries/LibC/sched.cpp
index f0dbe73ca1..4e3643bd01 100644
--- a/Libraries/LibC/sched.cpp
+++ b/Libraries/LibC/sched.cpp
@@ -36,15 +36,13 @@ int sched_yield()
__RETURN_WITH_ERRNO(rc, rc, -1);
}
-int sched_get_priority_min(int policy)
+int sched_get_priority_min([[maybe_unused]] int policy)
{
- (void)policy;
return 0; // Idle
}
-int sched_get_priority_max(int policy)
+int sched_get_priority_max([[maybe_unused]] int policy)
{
- (void)policy;
return 3; // High
}