mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 11:34:59 +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
|
@ -531,8 +531,8 @@ void handle_tcp(IPv4Packet const& ipv4_packet, Time const& packet_timestamp)
|
|||
socket->set_state(TCPSocket::State::Closed);
|
||||
return;
|
||||
}
|
||||
VERIFY_NOT_REACHED();
|
||||
|
||||
return;
|
||||
case TCPFlags::SYN:
|
||||
dbgln("handle_tcp: ignoring SYN for partially established connection");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue