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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user