[
https://issues.apache.org/jira/browse/TS-4815?focusedWorklogId=28971&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-28971
]
ASF GitHub Bot logged work on TS-4815:
--------------------------------------
Author: ASF GitHub Bot
Created on: 13/Sep/16 18:42
Start Date: 13/Sep/16 18:42
Worklog Time Spent: 10m
Work Description: GitHub user ngara reopened a pull request:
https://github.com/apache/trafficserver/pull/963
TS-4815 - CID 1267839 dead code in /mgmt/api/CfgContextManager.cc: re…
TS-4815 - CID 1267839 dead code in /mgmt/api/CfgContextManager.cc: return
TS_ERR_PARAMS;
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ngara/trafficserver TS-4815
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/963.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #963
----
commit 8947c566f5564f1bb03fa63d5bcc2e18ab08ccde
Author: Nathan Garabedian <[email protected]>
Date: 2016-09-02T21:13:38Z
TS-4815 - CID 1267839 dead code in /mgmt/api/CfgContextManager.cc: return
TS_ERR_PARAMS;
----
Issue Time Tracking
-------------------
Worklog Id: (was: 28971)
Time Spent: 1.5h (was: 1h 20m)
> 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
> Fix For: 7.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> 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)