CID 486508: Control flow issues in lib/ns/query.c
Coverity Scan claims a control flow issue in lib/ns/query.c
.
/lib/ns/query.c: 6307 in fetch_callback()
6301 * Return an error to the client, or just drop.
6302 */
6303 if (fetch_canceled) {
6304 CTRACE(ISC_LOG_ERROR, "fetch cancelled");
6305 query_error(client, DNS_R_SERVFAIL, __LINE__);
6306 } else {
>>> CID 486508: Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "query_next(client, ISC_R_CA...".
6307 query_next(client, ISC_R_CANCELED);
6308 }
6309
6310 /*
6311 * Free any persistent plugin data that was allocated to
6312 * service the client, then detach the client object.