mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:15:09 +00:00
Kernel: Fix -Wunreachable-code warnings from clang
This commit is contained in:
parent
e84c03ad61
commit
1cdb12e920
7 changed files with 6 additions and 12 deletions
|
@ -141,10 +141,8 @@ KResultOr<FlatPtr> handle(RegisterState& regs, FlatPtr function, FlatPtr arg1, F
|
|||
switch (function) {
|
||||
case SC_exit:
|
||||
process.sys$exit(arg1);
|
||||
break;
|
||||
case SC_exit_thread:
|
||||
process.sys$exit_thread(arg1, arg2, arg3);
|
||||
break;
|
||||
default:
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue