From: Mark Andrews Date: Tue, 6 Oct 2020 06:34:09 +0000 (+1100) Subject: Silence Coverity REVERSE_INULL report X-Git-Tag: v9.17.6~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0a66cb5aadd741c799f80079a86389d0423c3a3;p=thirdparty%2Fbind9.git Silence Coverity REVERSE_INULL report message does not need to be tested to NULL --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 1faa26d8538..b8cd90b129a 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -13458,9 +13458,7 @@ cleanup: if (qrdataset != NULL) { dns_message_puttemprdataset(message, &qrdataset); } - if (message != NULL) { - dns_message_detach(&message); - } + dns_message_detach(&message); return (result); }