mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Apply more SET_IF_NOT_NULL() changes
coccinelle v1.2 found more cases where the SET_IF_NOT_NULL macro applies.
This commit is contained in:
@@ -209,9 +209,7 @@ count_acl_elements(const cfg_obj_t *caml, const cfg_obj_t *cctx,
|
||||
|
||||
REQUIRE(count != NULL);
|
||||
|
||||
if (has_negative != NULL) {
|
||||
*has_negative = false;
|
||||
}
|
||||
SET_IF_NOT_NULL(has_negative, false);
|
||||
|
||||
for (elt = cfg_list_first(caml); elt != NULL; elt = cfg_list_next(elt))
|
||||
{
|
||||
|
Reference in New Issue
Block a user