mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 15:19:42 +00:00
Kernel: Fix -Wunreachable-code warnings from clang
This commit is contained in:
parent
e84c03ad61
commit
1cdb12e920
Notes:
sideshowbarker
2024-07-18 02:54:43 +09:00
Author: https://github.com/nico
Commit: 1cdb12e920
Pull-request: https://github.com/SerenityOS/serenity/pull/10399
7 changed files with 6 additions and 12 deletions
|
@ -413,7 +413,7 @@ KResult LocalSocket::getsockopt(OpenFileDescription& description, int level, int
|
|||
default:
|
||||
return EINVAL;
|
||||
}
|
||||
break;
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
default:
|
||||
return Socket::getsockopt(description, level, option, value, value_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue