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:
@@ -584,7 +584,7 @@ loadctx_create(dns_masterformat_t format, isc_mem_t *mctx,
|
||||
isc_lex_setcomments(lctx->lex, ISC_LEXCOMMENT_DNSMASTERFILE);
|
||||
}
|
||||
|
||||
lctx->ttl_known = (options & DNS_MASTER_NOTTL);
|
||||
lctx->ttl_known = ((options & DNS_MASTER_NOTTL) != 0);
|
||||
lctx->ttl = 0;
|
||||
lctx->default_ttl_known = lctx->ttl_known;
|
||||
lctx->default_ttl = 0;
|
||||
|
Reference in New Issue
Block a user