mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch 'ondrej/statements-following-return-break-continue-or-goto-will-never-be-executed-v9_18' into 'v9_18'
Remove UNREACHABLE() statements after exit() [v9.18] See merge request isc-projects/bind9!6028
This commit is contained in:
commit
310169af9d
4 changed files with 0 additions and 5 deletions
|
|
@ -1325,7 +1325,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;
|
||||
|
|
@ -1336,7 +1335,6 @@ dash_option(char *option, char *next, bool *open_type_class) {
|
|||
case 'v':
|
||||
fprintf(stderr, "delv %s\n", PACKAGE_VERSION);
|
||||
exit(0);
|
||||
UNREACHABLE();
|
||||
default:
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@ fromhex(char c) {
|
|||
|
||||
fprintf(stderr, "bad input format: %02x\n", c);
|
||||
exit(3);
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -372,7 +372,6 @@ fromhex(char c) {
|
|||
|
||||
printf("bad input format: %02x\n", c);
|
||||
exit(3);
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -920,7 +920,6 @@ fromhex(char c) {
|
|||
|
||||
printf("bad input format: %02x\n", c);
|
||||
exit(3);
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
|
|
|
|||
Loading…
Reference in a new issue