]> git.ipfire.org Git - thirdparty/bind9.git/commit
remove dead cleanup code.
authorMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 05:07:31 +0000 (16:07 +1100)
committerMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 07:37:17 +0000 (18:37 +1100)
commitb6c3a2f172eee0dd9c734bdc0ea61ab265cb38c7
tree785a2e46c507110f9cb8cd03cdcc873f578321c6
parent1efc7550a3cf532cb5452f4c5fabe7c11a86d55a
remove dead cleanup code.

13836        if (zone != NULL)
13837                dns_zone_detach(&zone);

      null: At condition dz != NULL, the value of dz must be NULL.
      dead_error_condition: The condition dz != NULL cannot be true.

13838        if (dz != NULL) {

CID 1453456 (#1 of 1): Logically dead code (DEADCODE)
dead_error_begin: Execution cannot reach this statement:
dns_zone_detach(&dz->zone);.

13839                dns_zone_detach(&dz->zone);
13840                isc_mem_put(named_g_mctx, dz, sizeof(*dz));
13841        }
bin/named/server.c