]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence converity warning [RT #45891]
authorMark Andrews <marka@isc.org>
Mon, 4 Sep 2017 21:38:13 +0000 (07:38 +1000)
committerMark Andrews <marka@isc.org>
Mon, 4 Sep 2017 21:38:13 +0000 (07:38 +1000)
lib/dns/resolver.c

index a8a7f30b64dda733cd42b3b5d73384830486d33a..6c1931f34232c87fc7f8c0a0147d1e64da9d10bf 100644 (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);
        }