Commit 6d3f4470 authored by Mark Andrews's avatar Mark Andrews
Browse files

silence compiler warning

parent e3d49a1c
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment