mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 10:12:09 -04:00
minor cleanup in sdlz.c
dns_db_issecure() and dns_db_nodecount() return false and 0, respectively, if they are not implemented, so there's no need to have implementation functions that only return false and 0.
This commit is contained in:
parent
b2009e1ebc
commit
7a5344d591
1 changed files with 0 additions and 17 deletions
|
|
@ -1092,21 +1092,6 @@ deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
|
|||
return result;
|
||||
}
|
||||
|
||||
static bool
|
||||
issecure(dns_db_t *db) {
|
||||
UNUSED(db);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
nodecount(dns_db_t *db, dns_dbtree_t tree) {
|
||||
UNUSED(db);
|
||||
UNUSED(tree);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* getoriginnode() is used by the update code to find the
|
||||
* dns_rdatatype_dnskey record for a zone
|
||||
|
|
@ -1144,8 +1129,6 @@ static dns_dbmethods_t sdlzdb_methods = {
|
|||
.addrdataset = addrdataset,
|
||||
.subtractrdataset = subtractrdataset,
|
||||
.deleterdataset = deleterdataset,
|
||||
.issecure = issecure,
|
||||
.nodecount = nodecount,
|
||||
.getoriginnode = getoriginnode,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue