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/09/02 21:17:20 UTC

[jira] [Assigned] (TS-4815) CID 1267839 dead code in /mgmt/api/CfgContextManager.cc: return TS_ERR_PARAMS;

     [ https://issues.apache.org/jira/browse/TS-4815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Garabedian reassigned TS-4815:
-------------------------------------

    Assignee: Nathan Garabedian

> CID 1267839 dead code in /mgmt/api/CfgContextManager.cc: return TS_ERR_PARAMS;
> ------------------------------------------------------------------------------
>
>                 Key: TS-4815
>                 URL: https://issues.apache.org/jira/browse/TS-4815
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Management API
>            Reporter: Nathan Garabedian
>            Assignee: Nathan Garabedian
>
>    	cond_notnull: Condition ctx, taking true branch. Now the value of ctx is not NULL.
> 165  ink_assert(ctx);
>    	notnull: At condition ctx, the value of ctx cannot be NULL.
>    	dead_error_condition: The condition !ctx cannot be true.
> 166  if (!ctx) {
>    	
> CID 1267839 (#1 of 1): Logically dead code (DEADCODE)
> dead_error_line: Execution cannot reach this statement: return TS_ERR_PARAMS;.
> 167    return TS_ERR_PARAMS;
> 168  }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)