mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-04 15:32:04 -04:00
Remove fatal() and check_result() from lib/dns/zoneverify.c
Since no function in lib/dns/zoneverify.c uses fatal() or check_result() any more, remove them.
This commit is contained in:
parent
5609472fbe
commit
a7ae615743
1 changed files with 0 additions and 18 deletions
|
|
@ -93,18 +93,6 @@ struct nsec3_chain_fixed {
|
|||
*/
|
||||
};
|
||||
|
||||
static void
|
||||
fatal(const char *format, ...) {
|
||||
va_list args;
|
||||
|
||||
fprintf(stderr, "fatal: ");
|
||||
va_start(args, format);
|
||||
vfprintf(stderr, format, args);
|
||||
va_end(args);
|
||||
fprintf(stderr, "\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/*%
|
||||
* Log a zone verification error described by 'fmt' and the variable arguments
|
||||
* following it. Either use dns_zone_logv() or print to stderr, depending on
|
||||
|
|
@ -143,12 +131,6 @@ zoneverify_print(const vctx_t *vctx, const char *fmt, ...) {
|
|||
va_end(ap);
|
||||
}
|
||||
|
||||
static void
|
||||
check_result(isc_result_t result, const char *message) {
|
||||
if (result != ISC_R_SUCCESS)
|
||||
fatal("%s: %s", message, isc_result_totext(result));
|
||||
}
|
||||
|
||||
static isc_boolean_t
|
||||
is_delegation(const vctx_t *vctx, dns_name_t *name, dns_dbnode_t *node,
|
||||
isc_uint32_t *ttlp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue