With isc_mem_get() and dns_name_dup() no longer being able to fail, some
functions can now only return ISC_R_SUCCESS. Change the return type to
void for the following function(s):
* build_event()
return (result);
}
-static isc_result_t
+static void
build_event(dns_lookup_t *lookup) {
dns_name_t *name = NULL;
dns_rdataset_t *rdataset = NULL;
lookup->event->name = name;
lookup->event->rdataset = rdataset;
lookup->event->sigrdataset = sigrdataset;
-
- return (ISC_R_SUCCESS);
}
static isc_result_t
switch (result) {
case ISC_R_SUCCESS:
- result = build_event(lookup);
+ build_event(lookup);
if (event == NULL) {
break;
}