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

silence compiler warning

This commit is contained in:
Mark Andrews
2013-03-05 14:49:31 +11:00
parent e3d49a1c84
commit 6d3f44700d

View File

@@ -7338,7 +7338,7 @@ ns_server_validation(ns_server_t *server, char *args, isc_buffer_t *text) {
dns_view_t *view;
isc_boolean_t changed = ISC_FALSE;
isc_result_t result;
isc_boolean_t enable, set = ISC_TRUE, first = ISC_TRUE;
isc_boolean_t enable = ISC_TRUE, set = ISC_TRUE, first = ISC_TRUE;
/* Skip the command name. */
ptr = next_token(&args, " \t");
@@ -7356,9 +7356,9 @@ ns_server_validation(ns_server_t *server, char *args, isc_buffer_t *text) {
else if (!strcasecmp(ptr, "off") || !strcasecmp(ptr, "no") ||
!strcasecmp(ptr, "disable") || !strcasecmp(ptr, "false"))
enable = ISC_FALSE;
else if (!strcasecmp(ptr, "check")) {
else if (!strcasecmp(ptr, "check"))
set = ISC_FALSE;
} else
else
return (DNS_R_SYNTAX);
/* Look for the view name. */