[
https://issues.apache.org/jira/browse/TS-4864?focusedWorklogId=29088&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-29088
]
ASF GitHub Bot logged work on TS-4864:
--------------------------------------
Author: ASF GitHub Bot
Created on: 15/Sep/16 04:09
Start Date: 15/Sep/16 04:09
Worklog Time Spent: 10m
Work Description: Github user atsci commented on the issue:
https://github.com/apache/trafficserver/pull/1021
Linux build *successful*! See
https://ci.trafficserver.apache.org/job/Github-Linux/706/ for details.
Issue Time Tracking
-------------------
Worklog Id: (was: 29088)
Time Spent: 40m (was: 0.5h)
> 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.0.0
>
> Time Spent: 40m
> 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)