Merge branch 'ondrej/statements-following-return-break-continue-or-goto-will-never-be-executed-v9_16' into 'v9_16'

Remove UNREACHABLE() statements after exit() [v9.16]

See merge request isc-projects/bind9!6029
This commit is contained in:
Ondřej Surý
2022-03-25 09:20:24 +00:00
4 changed files with 0 additions and 5 deletions
-2
View File
@@ -1332,7 +1332,6 @@ dash_option(char *option, char *next, bool *open_type_class) {
case 'h':
usage();
exit(0);
UNREACHABLE();
case 'i':
no_sigs = true;
root_validation = false;
@@ -1343,7 +1342,6 @@ dash_option(char *option, char *next, bool *open_type_class) {
case 'v':
fputs("delv " VERSION "\n", stderr);
exit(0);
UNREACHABLE();
default:
UNREACHABLE();
}
-1
View File
@@ -58,7 +58,6 @@ fromhex(char c) {
fprintf(stderr, "bad input format: %02x\n", c);
exit(3);
UNREACHABLE();
}
static void
-1
View File
@@ -383,7 +383,6 @@ fromhex(char c) {
printf("bad input format: %02x\n", c);
exit(3);
UNREACHABLE();
}
/*
-1
View File
@@ -955,7 +955,6 @@ fromhex(char c) {
printf("bad input format: %02x\n", c);
exit(3);
UNREACHABLE();
}
isc_result_t