From: Ondřej Surý Date: Fri, 27 Sep 2019 10:06:16 +0000 (+0200) Subject: lib/isccfg/aclconf.c: Suppress nullPointerRedundantCheck false positive X-Git-Tag: v9.15.6~72^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09232213d70c2a746f18ee0e9797883b9fe43f57;p=thirdparty%2Fbind9.git lib/isccfg/aclconf.c: Suppress nullPointerRedundantCheck false positive --- diff --git a/lib/isccfg/aclconf.c b/lib/isccfg/aclconf.c index bd9d483c4d5..947ac37bbd1 100644 --- a/lib/isccfg/aclconf.c +++ b/lib/isccfg/aclconf.c @@ -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,