]> git.ipfire.org Git - thirdparty/bind9.git/commit
Simplify checkds_create() to return void
authorOndřej Surý <ondrej@isc.org>
Sat, 14 Mar 2026 11:53:51 +0000 (12:53 +0100)
committerOndřej Surý <ondrej@sury.org>
Mon, 16 Mar 2026 10:04:58 +0000 (11:04 +0100)
commitf907b229d35009fd92f45d1bd6b46689f980249d
treed3478481af6d8a3758122f125dd287aaf5905e45
parentdc419568d1d0d7b05d532f8f0880bd5ec5a9cbf2
Simplify checkds_create() to return void

Since memory allocation never fails in BIND 9, checkds_create() cannot
fail.  Change it to return void and use designated initializers,
removing error handling at all call sites.

(cherry picked from commit 63d3c1f58a347d7d15c1e5477c6f9793cf139787)
lib/dns/zone.c