CID 352848, CID 352849: Control flow issues (DEADCODE)
** CID 352849: Control flow issues (DEADCODE)
/lib/dns/xfrin.c: 1143 in xfrin_start()
________________________________________________________________________________________________________
*** CID 352849: Control flow issues (DEADCODE)
/lib/dns/xfrin.c: 1143 in xfrin_start()
1137 }
1138
1139 if (store != NULL && store != found_store) {
1140 isc_tls_cert_store_free(&store);
1141 }
1142
>>> CID 352849: Control flow issues (DEADCODE)
>>> Execution cannot reach the expression "sess_cache != found_sess_cache" inside this statement: "if (sess_cache != NULL && s...".
1143 if (sess_cache != NULL && sess_cache != found_sess_cache) {
1144 isc_tlsctx_client_session_cache_detach(&sess_cache);
1145 }
1146
1147 isc_refcount_decrement0(&xfr->connects);
1148 dns_xfrin_detach(&connect_xfr);
** CID 352848: Control flow issues (DEADCODE)
/bin/dig/dighost.c: 2880 in get_create_tls_context()
________________________________________________________________________________________________________
*** CID 352848: Control flow issues (DEADCODE)
/bin/dig/dighost.c: 2880 in get_create_tls_context()
2874 if (ctx != NULL && found_ctx != ctx) {
2875 isc_tlsctx_free(&ctx);
2876 }
2877 if (store != NULL && store != found_store) {
2878 isc_tls_cert_store_free(&store);
2879 }
>>> CID 352848: Control flow issues (DEADCODE)
>>> Execution cannot reach the expression "sess_cache != found_sess_cache" inside this statement: "if (sess_cache != NULL && s...".
2880 if (sess_cache != NULL && sess_cache != found_sess_cache) {
2881 isc_tlsctx_client_session_cache_detach(&sess_cache);
2882 }
2883 return (NULL);
2884 }
2885