]> git.ipfire.org Git - thirdparty/bind9.git/commit
remove dead code in rbtdb.c
authorEvan Hunt <each@isc.org>
Tue, 12 Mar 2024 18:51:53 +0000 (11:51 -0700)
committerEvan Hunt <each@isc.org>
Thu, 14 Mar 2024 01:21:44 +0000 (18:21 -0700)
commitbc237c6f4a20ece93a444fae55be372ad8a2646f
tree13ca01b2d666bc7580a15051d1d445bdf1302869
parent3b6924df4a9047cb8c776e2ab0cfd523ece8a4df
remove dead code in rbtdb.c

dns_db_addrdataset() enforces a requirement that version can only be
NULL for a cache database. code that checks for zone semantics and
version == NULL can never be reached.

(cherry picked from commit b3c8b5cfb254ce7868ab403ea60db75b5f2c38b6)
lib/dns/rbtdb.c