]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove dead code
authorMark Andrews <marka@isc.org>
Mon, 19 Aug 2013 02:43:47 +0000 (12:43 +1000)
committerMark Andrews <marka@isc.org>
Mon, 19 Aug 2013 02:44:35 +0000 (12:44 +1000)
(cherry picked from commit 601d1a9aadef9fb992075273e0a60751249b3ef0)

bin/named/server.c

index b254789546a98afcb3f937842c250532ab9ed1b9..fa02f9a36682f0d436fe1d27c85733200177b056 100644 (file)
@@ -2085,9 +2085,6 @@ configure_view(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
        unsigned int resopts = 0;
        dns_zone_t *zone = NULL;
        isc_uint32_t max_clients_per_query;
-       const char *sep = ": view ";
-       const char *viewname = view->name;
-       const char *forview = " for view ";
        isc_boolean_t empty_zones_enable;
        const cfg_obj_t *disablelist = NULL;
        isc_stats_t *resstats = NULL;
@@ -2129,13 +2126,6 @@ configure_view(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
                cfgmaps[k++] = config;
        cfgmaps[k] = NULL;
 
-       if (!strcmp(viewname, "_default")) {
-               sep = "";
-               viewname = "";
-               forview = "";
-               POST(forview);
-       }
-
        /*
         * Set the view's port number for outgoing queries.
         */