CID 452570: Control flow issues in lib/dns/zone.c
Coverity Scan claims control flow issue in lib/dns/zone.c
after !7805 (merged).
/lib/dns/zone.c: 15812 in notify_done()
15806 goto done;
15807
15808 fail:
15809 dns_message_detach(&message);
15810
15811 if (result == ISC_R_SUCCESS) {
>>> CID 452570: Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "notify_log(notify->zone, -1...".
15812 notify_log(notify->zone, ISC_LOG_INFO,
15813 "notify to %s successful", addrbuf);
15814 } else if (result == ISC_R_SHUTTINGDOWN || result == ISC_R_CANCELED) {
15815 goto done;
15816 } else if ((notify->flags & DNS_NOTIFY_TCP) == 0) {
15817 notify_log(notify->zone, ISC_LOG_NOTICE,