]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove redundant assignment of 'clistenon = NULL'
authorMark Andrews <marka@isc.org>
Tue, 4 Jan 2022 00:51:56 +0000 (11:51 +1100)
committerMark Andrews <marka@isc.org>
Thu, 14 Jul 2022 00:24:37 +0000 (00:24 +0000)
bin/named/server.c

index b49b09d1dcd78e965ef5ca0735428c12bc35bd05..d28926914e5002596b9f36a990daf264e651660f 100644 (file)
@@ -8921,7 +8921,6 @@ load_configuration(const char *filename, named_server_t *server,
                const cfg_obj_t *clistenon = NULL;
                ns_listenlist_t *listenon = NULL;
 
-               clistenon = NULL;
                /*
                 * Even though listen-on is present in the default
                 * configuration, this way is easier.
@@ -8948,6 +8947,7 @@ load_configuration(const char *filename, named_server_t *server,
                        ns_listenlist_detach(&listenon);
                }
        }
+
        /*
         * Ditto for IPv6.
         */