]> git.ipfire.org Git - thirdparty/bind9.git/commit
dns/view.c: Return void when ISC_R_SUCCESS is only returned value
authorOndřej Surý <ondrej@sury.org>
Wed, 6 Oct 2021 11:40:32 +0000 (13:40 +0200)
committerOndřej Surý <ondrej@sury.org>
Wed, 13 Oct 2021 03:47:48 +0000 (05:47 +0200)
commitf51a9d834ce0fcddd2daf689ca52b747f74dea0d
treed9f2ffdf231cf65c7e1d3836d134e932b119d190
parent8fb4c5bb7a703e7c174ccd13b2ede618696af69c
dns/view.c: Return void when ISC_R_SUCCESS is only returned value

With isc_mem_get() and dns_name_dup() no longer being able to fail, some
functions can now only return ISC_R_SUCCESS.  Change the return type to
void for the following function(s):

 * dns_view_adddelegationonly()
 * dns_view_excludedelegationonly()
bin/named/server.c
lib/dns/include/dns/view.h
lib/dns/view.c