You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2016/08/18 17:56:20 UTC

[jira] [Resolved] (TS-4722) CID 1361277: Uninitialized members in LogConfig::LogConfig

     [ https://issues.apache.org/jira/browse/TS-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Peach resolved TS-4722.
-----------------------------
    Resolution: Fixed

Fixed on TS-4711

> CID 1361277:  Uninitialized members in LogConfig::LogConfig
> -----------------------------------------------------------
>
>                 Key: TS-4722
>                 URL: https://issues.apache.org/jira/browse/TS-4722
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Leif Hedstrom
>            Assignee: James Peach
>             Fix For: 7.0.0
>
>
> {code}
> *** CID 1361277:  Uninitialized members  (UNINIT_CTOR)
> /proxy/logging/LogConfig.cc: 290 in LogConfig::LogConfig()()
> 284     {
> 285       // Setup the default values for all LogConfig public variables so that
> 286       // a LogConfig object is valid upon return from the constructor even
> 287       // if no configuration file is read
> 288       //
> 289       setup_default_values();
>    CID 1361277:  Uninitialized members  (UNINIT_CTOR)
>    Non-static class member "custom_logs_enabled" is not initialized in this constructor nor in any functions that it calls.
> 290     }
> 291     
> 292     /*-------------------------------------------------------------------------
> 293       LogConfig::~LogConfig
> 294     
> 295       Delete all config variable strings.
> {code}



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