mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 00:25:29 +00:00
lib/isccfg/aclconf.c: Suppress nullPointerRedundantCheck false positive
This commit is contained in:
@@ -138,6 +138,7 @@ convert_named_acl(const cfg_obj_t *nameobj, const cfg_obj_t *cctx,
|
|||||||
dacl != NULL;
|
dacl != NULL;
|
||||||
dacl = ISC_LIST_NEXT(dacl, nextincache))
|
dacl = ISC_LIST_NEXT(dacl, nextincache))
|
||||||
{
|
{
|
||||||
|
/* cppcheck-suppress nullPointerRedundantCheck symbolName=dacl */
|
||||||
if (strcasecmp(aclname, dacl->name) == 0) {
|
if (strcasecmp(aclname, dacl->name) == 0) {
|
||||||
if (ISC_MAGIC_VALID(dacl, LOOP_MAGIC)) {
|
if (ISC_MAGIC_VALID(dacl, LOOP_MAGIC)) {
|
||||||
cfg_obj_log(nameobj, lctx, ISC_LOG_ERROR,
|
cfg_obj_log(nameobj, lctx, ISC_LOG_ERROR,
|
||||||
|
Reference in New Issue
Block a user