mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
This commit is contained in:
@@ -312,9 +312,9 @@ dns_private_totext(dns_rdata_t *private, isc_buffer_t *buf) {
|
||||
|
||||
CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
|
||||
|
||||
del = (nsec3param.flags & DNS_NSEC3FLAG_REMOVE);
|
||||
init = (nsec3param.flags & DNS_NSEC3FLAG_INITIAL);
|
||||
nonsec = (nsec3param.flags & DNS_NSEC3FLAG_NONSEC);
|
||||
del = ((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0);
|
||||
init = ((nsec3param.flags & DNS_NSEC3FLAG_INITIAL) != 0);
|
||||
nonsec = ((nsec3param.flags & DNS_NSEC3FLAG_NONSEC) != 0);
|
||||
|
||||
nsec3param.flags &= ~(DNS_NSEC3FLAG_CREATE|
|
||||
DNS_NSEC3FLAG_REMOVE|
|
||||
|
Reference in New Issue
Block a user