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

(cherry picked from commit 09232213d7)
This commit is contained in:
Ondřej Surý
2019-10-03 14:21:46 +02:00
parent 8f23f39fee
commit d2ca36346f
+1
View File
@@ -166,6 +166,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,