silence converity warning [RT #45891]

This commit is contained in:
Mark Andrews 2017-09-05 07:38:13 +10:00
parent 10076239f6
commit a322a0f31c

View file

@ -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);
}