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

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

                Author: ASF GitHub Bot
            Created on: 15/Sep/16 23:32
            Start Date: 15/Sep/16 23:32
    Worklog Time Spent: 10m 
      Work Description: Github user jpeach closed the pull request at:

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


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

    Worklog Id:     (was: 29227)
    Time Spent: 1h  (was: 50m)

> CID 1362769:  Control flow issues  (DEADCODE) in ink_thread.h
> -------------------------------------------------------------
>
>                 Key: TS-4864
>                 URL: https://issues.apache.org/jira/browse/TS-4864
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Nathan Garabedian
>              Labels: Coverity
>             Fix For: 7.1.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Filing this just in case, but maybe Nathan's fixes around this is where to go 
> ?
> {code}
> *** CID 1362769:  Control flow issues  (DEADCODE)
> /lib/ts/ink_thread.h: 160 in ink_thread_create(void *(*)(void *), void *, 
> int, unsigned long, void *)()
> 154       pthread_attr_destroy(&attr);
> 155     
> 156       /**
> 157        * Fix for INKqa10118.
> 158        * If the thread has not been created successfully return 0.
> 159        */
>    CID 1362769:  Control flow issues  (DEADCODE)
>    Execution cannot reach the expression "0UL" inside this statement: "return 
> ret ? 0UL : t;".
> 160       return ret ? (ink_thread)0 : t;
> 161     }
> 162     
> 163     static inline void
> 164     ink_thread_cancel(ink_thread who)
> 165     {
> {code}



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

Reply via email to