From 22d5735a0e983be60a0897c109cf49c6bbcd2071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Fri, 27 Sep 2019 12:06:16 +0200 Subject: [PATCH] lib/isccfg/aclconf.c: Suppress nullPointerRedundantCheck false positive (cherry picked from commit 09232213d70c2a746f18ee0e9797883b9fe43f57) --- lib/isccfg/aclconf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/isccfg/aclconf.c b/lib/isccfg/aclconf.c index ae5ba8b692..528144e399 100644 --- a/lib/isccfg/aclconf.c +++ b/lib/isccfg/aclconf.c @@ -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,