]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make dns_catz_get_iterator() return void
authorOndřej Surý <ondrej@isc.org>
Tue, 8 Mar 2022 10:30:37 +0000 (11:30 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 8 Mar 2022 13:51:55 +0000 (14:51 +0100)
commitd128656d2e8a868b7c0c44e22a7410c9b39ddce8
tree7d344a00e0f0d8b3e5578b746ced7a9497eb9131
parent8fa27365ec8ea47b498ea64a9b72553c0b662b6b
Make dns_catz_get_iterator() return void

Previously, the function(s) in the commit subject could fail for various
reasons - mostly allocation failures, or other functions returning
different return code than ISC_R_SUCCESS.  Now, the aforementioned
function(s) cannot ever fail and they would always return ISC_R_SUCCESS.

Change the function(s) to return void and remove the extra checks in
the code that uses them.
bin/named/server.c
lib/dns/catz.c
lib/dns/include/dns/catz.h