]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
lib/isccfg/aclconf.c: Suppress nullPointerRedundantCheck false positive
authorOndřej Surý <ondrej@sury.org>
Fri, 27 Sep 2019 10:06:16 +0000 (12:06 +0200)
committerOndřej Surý <ondrej@sury.org>
Thu, 3 Oct 2019 07:04:27 +0000 (09:04 +0200)
lib/isccfg/aclconf.c

index bd9d483c4d5cc7b3042caa59b7b332de1818e7e1..947ac37bbd1b6c35e849c2ff02b558e4e9443758 100644 (file)
@@ -138,6 +138,7 @@ convert_named_acl(const cfg_obj_t *nameobj, const cfg_obj_t *cctx,
             dacl != NULL;
             dacl = ISC_LIST_NEXT(dacl, nextincache))
        {
+               /* cppcheck-suppress nullPointerRedundantCheck symbolName=dacl */
                if (strcasecmp(aclname, dacl->name) == 0) {
                        if (ISC_MAGIC_VALID(dacl, LOOP_MAGIC)) {
                                cfg_obj_log(nameobj, lctx, ISC_LOG_ERROR,