mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
This commit is contained in:
@@ -823,7 +823,8 @@ createiterator(dns_db_t *db, unsigned int options, dns_dbiterator_t **iteratorp)
|
||||
sdlziter->common.methods = &dbiterator_methods;
|
||||
sdlziter->common.db = NULL;
|
||||
dns_db_attach(db, &sdlziter->common.db);
|
||||
sdlziter->common.relative_names = (options & DNS_DB_RELATIVENAMES);
|
||||
sdlziter->common.relative_names =
|
||||
((options & DNS_DB_RELATIVENAMES) != 0);
|
||||
sdlziter->common.magic = DNS_DBITERATOR_MAGIC;
|
||||
ISC_LIST_INIT(sdlziter->nodelist);
|
||||
sdlziter->current = NULL;
|
||||
|
Reference in New Issue
Block a user