]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the isc_mempool_create() usage using the semantic patch
authorOndřej Surý <ondrej@isc.org>
Sun, 2 Feb 2020 07:50:41 +0000 (08:50 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 3 Feb 2020 07:27:16 +0000 (08:27 +0100)
commit5eb3f71a3eca6c5faee5543ac2e5cf8e6f4f5ead
tree9ce51e1bf7c1836a4efc5e4460cff03244382522
parent33328871a780bc6d71757b6306777de4fe19872f
Refactor the isc_mempool_create() usage using the semantic patch

The isc_mempool_create() function now cannot fail with ISC_R_MEMORY.
This commit removes all the checks on the return code using the semantic
patch from previous commit, as isc_mempool_create() now returns void.
bin/dig/dighost.c
bin/plugins/filter-aaaa.c
bin/tests/optional/adb_test.c
bin/tests/optional/mempool_test.c
lib/dns/adb.c
lib/dns/dispatch.c
lib/dns/message.c
lib/isc/tests/mem_test.c