]> git.ipfire.org Git - thirdparty/bind9.git/commit
dns/resolver.c: Return void when ISC_R_SUCCESS is only returned value
authorOndřej Surý <ondrej@sury.org>
Wed, 6 Oct 2021 11:41:21 +0000 (13:41 +0200)
committerOndřej Surý <ondrej@sury.org>
Wed, 13 Oct 2021 03:48:51 +0000 (05:48 +0200)
commitedfae82c8202b2c31547f83ffaaa95c1ea6c13f5
treed641b962a69a2c436a70269bce972925ed553b32
parentf51a9d834ce0fcddd2daf689ca52b747f74dea0d
dns/resolver.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_zone_setprimaries()
 * dns_zone_setparentals()
 * dns_zone_setparentals()
 * dns_zone_setalsonotify()
bin/named/zoneconf.c
lib/dns/include/dns/zone.h
lib/dns/zone.c