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/12/15 21:05:46 UTC

[jira] [Created] (TS-4078) CID 1343334: Uninitialized members in Rollback.cc

Leif Hedstrom created TS-4078:
---------------------------------

             Summary: 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


{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)