Kernel: Fix -Wunreachable-code warnings from clang

This commit is contained in:
Nico Weber
2021-10-07 13:51:24 -04:00
committed by Andreas Kling
parent e84c03ad61
commit 1cdb12e920
7 changed files with 6 additions and 12 deletions

View File

@@ -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);