mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-01 07:15:30 -04:00
silence coverity warnings
This commit is contained in:
parent
ffaab41a01
commit
eb6d8d7a48
1 changed files with 2 additions and 1 deletions
|
|
@ -10234,7 +10234,7 @@ static void
|
|||
dumpzone(void *arg, const char *buf, int len) {
|
||||
FILE *fp = arg;
|
||||
|
||||
isc_stdio_write(buf, len, 1, fp, NULL);
|
||||
(void) isc_stdio_write(buf, len, 1, fp, NULL);
|
||||
}
|
||||
|
||||
static isc_result_t
|
||||
|
|
@ -10355,6 +10355,7 @@ nzf_writeconf(const cfg_obj_t *config, dns_view_t *view) {
|
|||
|
||||
CHECK(isc_stdio_flush(fp));
|
||||
CHECK(isc_stdio_close(fp));
|
||||
fp = NULL;
|
||||
CHECK(isc_file_rename(tmp, view->new_zone_file));
|
||||
return (result);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue