You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Brian Geffon (JIRA)" <ji...@apache.org> on 2015/12/16 04:38:46 UTC
[jira] [Assigned] (TS-4078) CID 1343334: Uninitialized members in
Rollback.cc
[ https://issues.apache.org/jira/browse/TS-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Geffon reassigned TS-4078:
--------------------------------
Assignee: Brian Geffon (was: Zhang Zizhong)
> CID 1343334: Uninitialized members in Rollback.cc
> --------------------------------------------------
>
> Key: TS-4078
> URL: https://issues.apache.org/jira/browse/TS-4078
> Project: Traffic Server
> Issue Type: Bug
> Components: Management API
> Reporter: Leif Hedstrom
> Assignee: Brian Geffon
> Fix For: 6.1.0
>
>
> {code}
> ** CID 1343334: Uninitialized members (UNINIT_CTOR)
> /mgmt/Rollback.cc: 101 in Rollback::Rollback(const char *, bool, Rollback*, unsigned int)()
> ________________________________________________________________________________________________________
> *** CID 1343334: Uninitialized members (UNINIT_CTOR)
> /mgmt/Rollback.cc: 101 in Rollback::Rollback(const char *, bool, Rollback*, unsigned int)()
> 95
> 96 // If we are not doing backups, bail early.
> 97 if ((numberBackups <= 0) || (flags & CONFIG_FLAG_UNVERSIONED)) {
> 98 currentVersion = 0;
> 99 setLastModifiedTime();
> 100 numberBackups = 0;
> CID 1343334: Uninitialized members (UNINIT_CTOR)
> Non-static class member "numVersions" is not initialized in this constructor nor in any functions that it calls.
> 101 return;
> 102 }
> 103
> 104 currentVersion = 0; // Prevent UMR with stat file
> 105 highestSeen = findVersions_ml(versionQ);
> 106
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)