mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
This commit is contained in:
@@ -567,8 +567,8 @@ adj_trigger_cnt(dns_rpz_zones_t *rpzs, dns_rpz_num_t rpz_num,
|
||||
const dns_rpz_cidr_key_t *tgt_ip, dns_rpz_prefix_t tgt_prefix,
|
||||
bool inc)
|
||||
{
|
||||
dns_rpz_trigger_counter_t *cnt = 0;
|
||||
dns_rpz_zbits_t *have = 0;
|
||||
dns_rpz_trigger_counter_t *cnt = NULL;
|
||||
dns_rpz_zbits_t *have = NULL;
|
||||
|
||||
switch (rpz_type) {
|
||||
case DNS_RPZ_TYPE_CLIENT_IP:
|
||||
|
Reference in New Issue
Block a user