Fix for:
CID
1353422 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in this
constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized in
this constructor nor in any functions that it calls.
CID
1353426 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in this
constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized in
this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
int update_sync_status();
public:
- RGWPeriod() : epoch(0) {}
+ RGWPeriod() : epoch(0), cct(NULL), store(NULL) {}
RGWPeriod(const string& period_id, epoch_t _epoch = 0)
- : id(period_id), epoch(_epoch) {}
+ : id(period_id), epoch(_epoch),
+ cct(NULL), store(NULL) {}
const string& get_id() const { return id; }
epoch_t get_epoch() const { return epoch; }