You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Nathan Garabedian (JIRA)" <ji...@apache.org> on 2016/10/26 23:23:58 UTC
[jira] [Assigned] (TS-5008) CID 1022007 Logically dead code
[ https://issues.apache.org/jira/browse/TS-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Garabedian reassigned TS-5008:
-------------------------------------
Assignee: Nathan Garabedian
> CID 1022007 Logically dead code
> -------------------------------
>
> Key: TS-5008
> URL: https://issues.apache.org/jira/browse/TS-5008
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Nathan Garabedian
> Assignee: Nathan Garabedian
> Time Spent: 40m
> Remaining Estimate: 0h
>
> if (ink_hash_table_lookup(our_map, virt_ip, &hash_value) != 0) {
> const: At condition in_ext_map, the value of in_ext_map must be equal to 0.
> dead_error_condition: The condition in_ext_map cannot be true.
> 620 if (in_ext_map) {
>
> CID 1022007 (#1 of 1): Logically dead code (DEADCODE)
> dead_error_line: Execution cannot reach this statement: ret = true;.
> 621 ret = true;
> 622 } else {
> 623 ret = false;
> 624 }
> 625 }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)