]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove reduntant checks of 'rdclass' in catz.c
authorAram Sargsyan <aram@isc.org>
Fri, 15 Apr 2022 15:50:43 +0000 (15:50 +0000)
committerAram Sargsyan <aram@isc.org>
Thu, 28 Apr 2022 12:40:03 +0000 (12:40 +0000)
commit84d3aba4f3e87cd293e765b9ba5b070d4156cdce
tree819bb94e85f2d31790d8c7817efd417949dfac54
parent5bfe655835490de9e198605618ae938c0a684a75
Remove reduntant checks of 'rdclass' in catz.c

We check the `rdclass` to be of type IN in `dns_catz_update_process()`
function, and all the other static functions where similar checks exist
are called after (and in the result of) that function being called,
so they are effectively redundant.
lib/dns/catz.c