]> git.ipfire.org Git - thirdparty/bind9.git/commit
Drop superfluous isc_mem_get() NULL check
authorMichal Nowak <mnowak@isc.org>
Thu, 12 Dec 2024 16:42:50 +0000 (17:42 +0100)
committerMichal Nowak <mnowak@isc.org>
Fri, 13 Dec 2024 12:52:52 +0000 (13:52 +0100)
commitcf76851c7543c6dc5bf3468f9f1af017d1df5343
tree27572fe7ae6603597e1824377787b129412f4c6c
parent7f5504142676993700f78e49c5161a10918ae4ed
Drop superfluous isc_mem_get() NULL check

coccinelle v1.1 trips over a superfluous isc_mem_get() NULL check in
tests/libtest/ns.c and reports the following failure in CI:

    EXN: Failure("rule starting on line 26: already tagged token:\nC code context\nFile \"./tests/libtest/ns.c\", line 350, column 1, charpos = 7939\n  around = 'if',\n  whole content = \tif (qctx != NULL) {") in ./tests/libtest/ns.c
tests/libtest/ns.c