2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

fix coverity issues

3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
This commit is contained in:
Evan Hunt
2012-10-02 23:44:03 -07:00
parent 02bbbc26be
commit 41bbb34bc2
26 changed files with 119 additions and 86 deletions

View File

@@ -7871,8 +7871,7 @@ ns_server_del_zone(ns_server_t *server, char *args) {
/* Parse parameters */
CHECK(zone_from_args(server, args, NULL, &zone, &zonename, ISC_TRUE));
if (result != ISC_R_SUCCESS)
return (result);
if (zone == NULL) {
result = ISC_R_UNEXPECTEDEND;
goto cleanup;