mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Refactor dns_zone_create() to return void
After isc_stats_create() change, the dns_zone_create() cannot fail, so refactor the function to return void and fix all its uses.
This commit is contained in:
committed by
Ondřej Surý
parent
045d8d9ed6
commit
ea2fe8eea4
@@ -595,7 +595,7 @@ load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
|
||||
zonename, filename, classname);
|
||||
}
|
||||
|
||||
CHECK(dns_zone_create(&zone, mctx, 0));
|
||||
dns_zone_create(&zone, mctx, 0);
|
||||
|
||||
dns_zone_settype(zone, dns_zone_primary);
|
||||
|
||||
|
Reference in New Issue
Block a user