]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove dead code
authorMark Andrews <marka@isc.org>
Mon, 18 Jul 2022 08:00:30 +0000 (18:00 +1000)
committerMark Andrews <marka@isc.org>
Tue, 6 Sep 2022 12:47:08 +0000 (12:47 +0000)
commit785d021d00ed178a6c778cbc0a36885289cc9cc7
tree59fddeb93a93911ab3b9e403b2e6b067590f91b0
parent5805457d9d9e4188bfa7c7a2b2c5b42f1ef255dc
Remove dead code

    *** CID 352817:  Control flow issues  (DEADCODE) /lib/ns/xfrout.c: 1568 in sendstream()
    1562
    1563      /* Advance lasttsig to be the last TSIG generated */
    1564      CHECK(dns_message_getquerytsig(msg, xfr->mctx, &xfr->lasttsig));
    1565
    1566     failure:
    1567      if (msgname != NULL) {
    >>>     CID 352817:  Control flow issues  (DEADCODE)
    >>>     Execution cannot reach this statement: "if (msgrds != NULL) {
      if ...".
    1568      if (msgrds != NULL) {
    1569      if (dns_rdataset_isassociated(msgrds)) {
    1570      dns_rdataset_disassociate(msgrds);
    1571      }
    1572      dns_message_puttemprdataset(msg, &msgrds);
    1573      }
lib/ns/xfrout.c