aboutsummaryrefslogtreecommitdiff
path: root/src/sched
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-06-29 21:45:11 +0300
committeraqua <aqua@iserlohn-fortress.net>2023-06-29 21:45:11 +0300
commiteb84566d236df6b0dd4f5ce8fc47d66e55e33654 (patch)
tree7e03ca126781c67336edf9f3ce6888aad23f74e4 /src/sched
parentRework leaf makefiles to be included from top-level (diff)
downloadkernel-eb84566d236df6b0dd4f5ce8fc47d66e55e33654.tar.xz
Fix compiler warnings
Diffstat (limited to 'src/sched')
-rw-r--r--src/sched/test_roundrobin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched/test_roundrobin.cc b/src/sched/test_roundrobin.cc
index 1431788..89f60bf 100644
--- a/src/sched/test_roundrobin.cc
+++ b/src/sched/test_roundrobin.cc
@@ -43,7 +43,7 @@ TEST(roundrobin, RoundRobinQueue)
std::cout << "Completed in (us): " << duration << std::endl;
// test should complete in 250us unless running on valgrind
- if (!RUNNING_ON_VALGRIND) EXPECT_LE(duration, 250);
+ if (!RUNNING_ON_VALGRIND) { EXPECT_LE(duration, 250); }
EXPECT_EQ(queue.head, nullptr);
EXPECT_EQ(queue.tail, nullptr);