]> git.ipfire.org Git - thirdparty/bind9.git/commit
dns/catz.c: Return void when ISC_R_SUCCESS is only returned value
authorOndřej Surý <ondrej@sury.org>
Wed, 6 Oct 2021 10:43:35 +0000 (12:43 +0200)
committerOndřej Surý <ondrej@sury.org>
Wed, 13 Oct 2021 03:47:48 +0000 (05:47 +0200)
commitee735ba79dbdf35e90846c912a97fda7d75f33c3
tree0d7948b5f2fd24a1f71c33af7516cd9fcad92d16
parente12240150d86a3c8d1e9a875249a7586ee5be590
dns/catz.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_catz_options_copy()
 * dns_catz_options_setdefault()
 * dns_catz_entry_new()
 * dns_catz_entry_copy()
lib/dns/catz.c
lib/dns/include/dns/catz.h