You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2015/11/06 05:46:27 UTC
[jira] [Updated] (TS-3996) CID 1338133: Control flow issues
(DEADCODE) /cmd/traffic_manager/traffic_manager.cc
[ https://issues.apache.org/jira/browse/TS-3996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-3996:
------------------------------
Assignee: Alan M. Carroll
> CID 1338133: Control flow issues (DEADCODE) /cmd/traffic_manager/traffic_manager.cc
> -------------------------------------------------------------------------------------
>
> Key: TS-3996
> URL: https://issues.apache.org/jira/browse/TS-3996
> Project: Traffic Server
> Issue Type: Bug
> Components: Manager
> Reporter: Leif Hedstrom
> Assignee: Alan M. Carroll
> Fix For: 6.1.0
>
>
> {code}
> Hi,
> Please find the latest report on new defect(s) introduced to Apache Traffic Server found with Coverity Scan.
> 1 new defect(s) introduced to Apache Traffic Server found with Coverity Scan.
> 6 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
> New defect(s) Reported-by: Coverity Scan
> Showing 1 of 1 defect(s)
> ** CID 1338133: Control flow issues (DEADCODE)
> /cmd/traffic_manager/traffic_manager.cc: 569 in main()
> ________________________________________________________________________________________________________
> *** CID 1338133: Control flow issues (DEADCODE)
> /cmd/traffic_manager/traffic_manager.cc: 569 in main()
> 563 int facility_int;
> 564
> 565 facility_str = REC_readString(sys_var, &found);
> 566 ink_assert(found);
> 567
> 568 if (!found) {
> CID 1338133: Control flow issues (DEADCODE)
> Execution cannot reach this statement: "mgmt_elog(0, "Could not rea...".
> 569 mgmt_elog(0, "Could not read %s. Defaulting to LOG_DAEMON\n", sys_var);
> 570 facility_int = LOG_DAEMON;
> 571 } else {
> 572 facility_int = facility_string_to_int(facility_str);
> 573 ats_free(facility_str);
> 574 if (facility_int < 0) {
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)