lib/isccfg/aclconf.c: Suppress nullPointerRedundantCheck false positive

(cherry picked from commit 09232213d7)
This commit is contained in:
Ondřej Surý 2019-09-27 12:06:16 +02:00
parent be4aafeac7
commit 22d5735a0e

View file

@ -154,6 +154,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,