diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index a8a7f30b64..6c1931f342 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -5398,9 +5398,8 @@ validated(isc_task_t *task, isc_event_t *event) { now, vevent->rdataset, 0, NULL); if (result == ISC_R_SUCCESS) - result = dns_db_addrdataset(fctx->cache, wnode, NULL, - now, vevent->sigrdataset, - 0, NULL); + (void)dns_db_addrdataset(fctx->cache, wnode, NULL, now, + vevent->sigrdataset, 0, NULL); if (wnode != NULL) dns_db_detachnode(fctx->cache, &wnode); }