]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove double non-NULL guard around bindrdataset()
authorOndřej Surý <ondrej@isc.org>
Thu, 21 Aug 2025 06:56:29 +0000 (08:56 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 28 Aug 2025 17:28:55 +0000 (19:28 +0200)
commitc60bdbcf5c4b42c151838d79f6540743f4d4758a
tree5657f8e8daeacb1e648c10cdd3e98ccd085276c5
parentbc5c9cf62bc9096cb0e4d766e4a083e051b64f1e
Remove double non-NULL guard around bindrdataset()

The bindrdataset() already has a logic to skip the rest of the function
if the passed rdataset is NULL.  Remove the external guarding for
'addedrdataset' to simplify the code flow both from the zone and cache
databases.
lib/dns/qpcache.c
lib/dns/qpzone.c