You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/24 22:44:21 UTC

[jira] [Work logged] (TS-4780) CID 1361919: Control flow issues (DEADCODE) /lib/ts/InkErrno.cc:

     [ https://issues.apache.org/jira/browse/TS-4780?focusedWorklogId=27080&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-27080 ]

ASF GitHub Bot logged work on TS-4780:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Aug/16 22:44
            Start Date: 24/Aug/16 22:44
    Worklog Time Spent: 10m 
      Work Description: GitHub user jpeach opened a pull request:

    https://github.com/apache/trafficserver/pull/915

    TS-4780: Fix Coverity dead code warning.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jpeach/trafficserver fix/4780

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/915.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 #915
    
----
commit 2121770ee337d67031162fed8d38a24d1bbaf200
Author: James Peach <jp...@apache.org>
Date:   2016-08-24T22:43:35Z

    TS-4780: Fix Coverity dead code warning.

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 27080)
            Time Spent: 10m
    Remaining Estimate: 0h

> CID 1361919:  Control flow issues  (DEADCODE) /lib/ts/InkErrno.cc: 
> -------------------------------------------------------------------
>
>                 Key: TS-4780
>                 URL: https://issues.apache.org/jira/browse/TS-4780
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: James Peach
>             Fix For: 7.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
> *** CID 1361919:  Control flow issues  (DEADCODE)
> /lib/ts/InkErrno.cc: 105 in InkStrerror(int)()
> 99       }
> 100     
> 101       if (ink_errno > SOCK_ERRNO) {
> 102         return "ESOCK (unknown)";
> 103       }
> 104     
>    CID 1361919:  Control flow issues  (DEADCODE)
>    Execution cannot reach this statement: "return "(unknown)";".
> 105       return "(unknown)";
> {code}



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