further cleanup

- removed some dead code
- dns_zone_setdbtype is now void as it could no longer return
  anything but ISC_R_SUCCESS; calls to it no longer check for a result
- controlkeylist_fromconfig() is also now void
- fixed a whitespace error
This commit is contained in:
Evan Hunt
2019-07-23 14:56:24 -04:00
committed by Ondřej Surý
parent 19eb5d0e83
commit a1871e7f1d
10 changed files with 26 additions and 67 deletions

View File

@@ -99,8 +99,7 @@ setup(const char *zonename, const char *filename, const char *classname) {
result = dns_zone_setorigin(zone, origin);
ERRRET(result, "dns_zone_setorigin");
result = dns_zone_setdbtype(zone, 1, &rbt);
ERRRET(result, "dns_zone_setdatabase");
dns_zone_setdbtype(zone, 1, &rbt);
result = dns_zone_setfile(zone, filename, dns_masterformat_text,
&dns_master_style_default);